From 4694e537bc911d843524d5f54c65f29c8a60fc5c Mon Sep 17 00:00:00 2001 From: John Resig Date: Mon, 5 Jan 2009 01:24:14 +0000 Subject: [PATCH] Forgot to merge in some of the new tests from Sizzle. --- test/index.html | 7 +++++++ test/unit/core.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/test/index.html b/test/index.html index 9a0eccb3..c4ba7526 100644 --- a/test/index.html +++ b/test/index.html @@ -112,6 +112,13 @@
+ +
+ + + + +
fadeIn
fadeIn
diff --git a/test/unit/core.js b/test/unit/core.js index 451bd71c..ae8490ec 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1379,7 +1379,7 @@ test("siblings([String])", function() { isSet( jQuery("#en").siblings().get(), q("sndp", "sap"), "Check for siblings" ); isSet( jQuery("#sndp").siblings(":has(code)").get(), q("sap"), "Check for filtered siblings (has code child element)" ); isSet( jQuery("#sndp").siblings(":has(a)").get(), q("en", "sap"), "Check for filtered siblings (has anchor child element)" ); - isSet( jQuery("#foo").siblings("form, b").get(), q("form", "lengthtest", "testForm", "floatTest"), "Check for multiple filters" ); + isSet( jQuery("#foo").siblings("form, b").get(), q("form", "lengthtest", "name-tests", "testForm", "floatTest"), "Check for multiple filters" ); var set = document.querySelectorAll ? q("en", "sap", "sndp") : q("sndp", "sap", "en"); isSet( jQuery("#en, #sndp").siblings().get(), set, "Check for unique results from siblings" ); });