Skip to content

Commit

Permalink
Move test
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Jan 24, 2024
1 parent 0eebc39 commit b696271
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,15 +545,6 @@ describe('assert', function () {
}, "blah: expected undefined to not equal undefined");
});

it('isFunction', function() {
var func = function() {};
assert.isFunction(func);

err(function () {
assert.isFunction({}, 'blah');
}, "blah: expected {} to be a callable function");
});

it('isCallable', function() {
var func = function() {};
assert.isCallable(func);
Expand Down Expand Up @@ -582,6 +573,15 @@ describe('assert', function () {
}, "blah: expected [Function] not to be a callable function");
});

it('isFunction', function() {
var func = function() {};
assert.isFunction(func);

err(function () {
assert.isFunction({}, 'blah');
}, "blah: expected {} to be a callable function");
});

it('isNotFunction', function () {
assert.isNotFunction(5);

Expand Down

0 comments on commit b696271

Please sign in to comment.