diff --git a/test/assert.js b/test/assert.js index db2e1025..22373a35 100644 --- a/test/assert.js +++ b/test/assert.js @@ -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); @@ -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);