Skip to content
Permalink
Browse files

test runner: A test was failing on Opera 9.50. Not a bug, just made t…

…he test less specific and it passed.
  • Loading branch information
flesler committed May 24, 2008
1 parent 895df76 commit 3c5c3dffaa4cd72ef112f414e2e2bb3b72f3f1b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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" );

0 comments on commit 3c5c3df

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