mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Enforce expects in manipulation.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-963
This commit is contained in:
parent
435fbe1793
commit
0c44743496
@ -1901,6 +1901,8 @@ test("Guard against exceptions when clearing safeChildNodes", function() {
|
||||
});
|
||||
|
||||
test("Ensure oldIE creates a new set on appendTo (#8894)", function() {
|
||||
expect( 5 );
|
||||
|
||||
strictEqual( jQuery("<div/>").clone().addClass("test").appendTo("<div/>").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.clone" );
|
||||
strictEqual( jQuery("<div/>").find("p").end().addClass("test").appendTo("<div/>").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.fn.find" );
|
||||
strictEqual( jQuery("<div/>").text("test").addClass("test").appendTo("<div/>").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.fn.text" );
|
||||
|
Loading…
Reference in New Issue
Block a user