test runner: improved the shown message of 4 isFunction tests.
This commit is contained in:
parent
b13a961ff5
commit
1382ea8d98
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue