Fixed not(jQuery) (need. more. tests.)
[jquery.git] / src / jquery / coreTest.js
index 28ba007..a9c3e26 100644 (file)
@@ -494,10 +494,11 @@ test("filter()", function() {
        isSet( $("p").filter(function() { return !$("a", this).length }).get(), q("sndp", "first"), "filter(Function)" );\r
 });\r
 \r
-test("not(String)", function() {\r
-       expect(2);\r
+test("not()", function() {\r
+       expect(3);\r
        ok( $("#main > p#ap > a").not("#google").length == 2, "not('selector')" );\r
        isSet( $("p").not("#ap, #sndp, .result").get(), q("firstp", "en", "sap", "first"), "not('selector, selector')" );\r
+       isSet( $("p").not($("#ap, #sndp, .result")).get(), q("firstp", "en", "sap", "first"), "not(jQuery)" );\r
 });\r
 \r
 \r