test runner: added another test for makeArray.

This commit is contained in:
Ariel Flesler 2008-04-29 20:52:48 +00:00
parent aea452f162
commit 5ca908d3b6

View file

@ -1589,7 +1589,9 @@ test("contents()", 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" );