Commit 5ca908d3 authored by Ariel Flesler's avatar Ariel Flesler

test runner: added another test for makeArray.

parent aea452f1
...@@ -1589,7 +1589,9 @@ test("contents()", function() { ...@@ -1589,7 +1589,9 @@ test("contents()", function() {
}); });
test("$.makeArray", function(){ test("$.makeArray", function(){
expect(13); expect(14);
equals( $.makeArray($('html>*'))[0].nodeName, "HEAD", "Pass makeArray a jQuery object" );
equals( $.makeArray(document.getElementsByName("PWD")).slice(0,1)[0].name, "PWD", "Pass makeArray a nodelist" ); equals( $.makeArray(document.getElementsByName("PWD")).slice(0,1)[0].name, "PWD", "Pass makeArray a nodelist" );
......
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