diff options
Diffstat (limited to 'test/unit/core.js')
-rw-r--r-- | test/unit/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 6d2ff6b9d..37eee5da7 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1680,7 +1680,7 @@ test("$.makeArray", function(){ equals( $.makeArray( {length:2, 0:"a", 1:"b"} ).join(""), "ab", "Pass makeArray an array like map (with length)" );
- equals( $.makeArray( document.documentElement.childNodes ).slice(0,1)[0].nodeName, "HEAD", "Pass makeArray a childNodes array" );
+ ok( !!$.makeArray( document.documentElement.childNodes ).slice(0,1)[0].nodeName, "Pass makeArray a childNodes array" );
//function, is tricky as it has length
equals( $.makeArray( function(){ return 1;} )[0](), 1, "Pass makeArray a function" );
|