How to use the strictEqual function from assert-plus

Find comprehensive JavaScript assert-plus.strictEqual code examples handpicked from public code repositorys.

1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
    return;
}

assert.ok(cls.cls_track.countTotal() <= limitObj.limit);
if (cls.cls_track.countSkipped() === limitObj.limit) {
    assert.strictEqual(cls.cls_track.countIncluded(), 0);
    /*
     * If we see a full page of objects with the same mtime, we
     * cannot tell if there are any more objects with the same
     * mtime or not.  All subsequent requests with the same
fork icon41
star icon75
watch icon0

951
952
953
954
955
956
957
958
959
assertplus.object(args, 'args');
assertplus.object(args, 'args.sources');
assertplus.number(args.concurrency, 'args.concurrency');
assertplus.string(args.configFile, 'args.configFile');
assertplus.func(callback, 'callback');
assertplus.strictEqual(this.ma_alarms, null);
assertplus.strictEqual(this.ma_amon_deployed, null);
assertplus.strictEqual(this.ma_alarm_metadata, null);
assertplus.strictEqual(this.ma_maint_windows, null);
fork icon13
star icon7
watch icon42

+ 6 other calls in file

1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
         * account, they will have provided the UUID of that account
         * in either the "account" argument or the "account"
         * property of the "user" argument.  If the caller has
         * provided both of these values, make sure they match up.
         */
        assert.strictEqual(user.account, account, '"account" ' +
            'argument and "user.account" value must agree');
    }
    account = user.account;
}
fork icon9
star icon3
watch icon0