mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
test runner: added another test for makeArray.
This commit is contained in:
parent
aea452f162
commit
5ca908d3b6
@ -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" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user