Remove test for bug #7369 to move the fix to a separate branch for a sooner pull

This commit is contained in:
timmywil 2011-03-30 23:23:38 -04:00
parent 6da3885cc3
commit 1a16776730
2 changed files with 2 additions and 5 deletions

View File

@ -168,9 +168,6 @@ test("closest()", function() {
// Test on disconnected node // Test on disconnected node
equals( jQuery("<div><p></p></div>").find("p").closest("table").length, 0, "Make sure disconnected closest work." ); equals( jQuery("<div><p></p></div>").find("p").closest("table").length, 0, "Make sure disconnected closest work." );
// Bug #7369
equals( jQuery('<div foo="bar"></div>').closest('[foo]').length, 1, "Disconnected nodes with attribute selector" );
equals( jQuery('<div></div>').closest('[lang]').length, 0, "Disconnected nodes with non-existent attribute selector" );
}); });
test("closest(Array)", function() { test("closest(Array)", function() {