diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-05-14 21:18:46 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-05-14 21:18:46 +0000 |
commit | 1382ea8d98aa6d72c4240e42471917a350308d67 (patch) | |
tree | 74cc7a0f4351e058a47d7bc716fef8e644ca7c8d | |
parent | b13a961ff58553ad76f134a3504d0c567f1703da (diff) | |
download | jquery-1382ea8d98aa6d72c4240e42471917a350308d67.tar.gz jquery-1382ea8d98aa6d72c4240e42471917a350308d67.zip |
test runner: improved the shown message of 4 isFunction tests.
-rw-r--r-- | test/unit/core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index b33a6eae2..bfaceca38 100644 --- a/test/unit/core.js +++ b/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";
|