Skip to content
Permalink
Browse files

test runner: improved the shown message of 4 isFunction tests.

  • Loading branch information
flesler committed May 14, 2008
1 parent b13a961 commit 1382ea8d98aa6d72c4240e42471917a350308d67
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/unit/core.js
@@ -121,10 +121,10 @@ test("isFunction", function() {

// Check built-ins
// Safari uses "(Internal Function)"
ok( jQuery.isFunction(String), "String Function" );
ok( jQuery.isFunction(Array), "Array Function" );
ok( jQuery.isFunction(Object), "Object Function" );
ok( jQuery.isFunction(Function), "Function Function" );
ok( jQuery.isFunction(String), "String Function("+String+")" );
ok( jQuery.isFunction(Array), "Array Function("+Array+")" );
ok( jQuery.isFunction(Object), "Object Function("+Object+")" );
ok( jQuery.isFunction(Function), "Function Function("+Function+")" );

// When stringified, this could be misinterpreted
var mystr = "function";

0 comments on commit 1382ea8

Please sign in to comment.
You can’t perform that action at this time.