Skip to content
Permalink
Browse files

test runner: added another test for makeArray.

  • Loading branch information
flesler committed Apr 29, 2008
1 parent aea452f commit 5ca908d3b637a5d1e5c14b84d9a15653c3cb6d90
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/unit/core.js
@@ -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" );

0 comments on commit 5ca908d

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