]> source.dussan.org Git - jquery.git/commitdiff
test runner: added another test for makeArray.
authorAriel Flesler <aflesler@gmail.com>
Tue, 29 Apr 2008 20:52:48 +0000 (20:52 +0000)
committerAriel Flesler <aflesler@gmail.com>
Tue, 29 Apr 2008 20:52:48 +0000 (20:52 +0000)
test/unit/core.js

index 5890d191a3a7a62ac22bf008bf844681ca1e19da..90998bb528fc8cd8df423ec58d4173ebb94da344 100644 (file)
@@ -1589,7 +1589,9 @@ test("contents()", function() {
 });\r
 \r
 test("$.makeArray", function(){\r
-       expect(13);\r
+       expect(14);\r
+       \r
+       equals( $.makeArray($('html>*'))[0].nodeName, "HEAD", "Pass makeArray a jQuery object" );\r
        \r
        equals( $.makeArray(document.getElementsByName("PWD")).slice(0,1)[0].name, "PWD", "Pass makeArray a nodelist" );\r
 \r