replaced tabs with 2 spaces

This commit is contained in:
Bartvds 2013-06-09 01:27:05 +02:00
parent 080702ac87
commit 774a723bff
2 changed files with 13 additions and 13 deletions

View file

@ -97,7 +97,7 @@ module.exports = function (chai, util) {
*/
assert.notOk = function (val, msg) {
new Assertion(val, msg).is.not.ok;
new Assertion(val, msg).is.not.ok;
};
/**

View file

@ -51,21 +51,21 @@ suite('assert', function () {
});
test('notOk', function () {
assert.notOk(false);
assert.notOk(0);
assert.notOk('');
assert.notOk(false);
assert.notOk(0);
assert.notOk('');
err(function () {
assert.notOk(true);
}, "expected true to be falsy");
err(function () {
assert.notOk(true);
}, "expected true to be falsy");
err(function () {
assert.notOk(1);
}, "expected 1 to be falsy");
err(function () {
assert.notOk(1);
}, "expected 1 to be falsy");
err(function () {
assert.notOk('test');
}, "expected 'test' to be falsy");
err(function () {
assert.notOk('test');
}, "expected 'test' to be falsy");
});
test('isFalse', function () {