aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/core.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-05-24 21:27:12 +0000
committerAriel Flesler <aflesler@gmail.com>2008-05-24 21:27:12 +0000
commit3c5c3dffaa4cd72ef112f414e2e2bb3b72f3f1b4 (patch)
treeafdcc7c64c4e13cb2483d2092d230984260ed030 /test/unit/core.js
parent895df76146e2486c812a3a9bc5ed1585b0176f21 (diff)
downloadjquery-3c5c3dffaa4cd72ef112f414e2e2bb3b72f3f1b4.tar.gz
jquery-3c5c3dffaa4cd72ef112f414e2e2bb3b72f3f1b4.zip
test runner: A test was failing on Opera 9.50. Not a bug, just made the test less specific and it passed.
Diffstat (limited to 'test/unit/core.js')
-rw-r--r--test/unit/core.js2
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" );