Commit 3c5c3dff authored by Ariel Flesler's avatar Ariel Flesler

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

test runner: A test was failing on Opera 9.50. Not a bug, just made the test less specific and it passed.
parent 895df761
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment