test runner: recloses #3102. Adding one test for $().eq("1")
[jquery.git] / test / unit / core.js
index dda7929..dbf23e7 100644 (file)
@@ -1575,13 +1575,15 @@ test("empty()", function() {
 });\r
 \r
 test("slice()", function() {\r
-       expect(5);\r
+       expect(6);\r
        isSet( jQuery("#ap a").slice(1,2), q("groups"), "slice(1,2)" );\r
        isSet( jQuery("#ap a").slice(1), q("groups", "anchor1", "mark"), "slice(1)" );\r
        isSet( jQuery("#ap a").slice(0,3), q("google", "groups", "anchor1"), "slice(0,3)" );\r
        isSet( jQuery("#ap a").slice(-1), q("mark"), "slice(-1)" );\r
 \r
        isSet( jQuery("#ap a").eq(1), q("groups"), "eq(1)" );\r
+       \r
+       isSet( jQuery("#ap a").eq('1'), q("groups"), "eq('1')" );\r
 });\r
 \r
 test("map()", function() {\r