diff options
author | jeresig <jeresig@gmail.com> | 2010-01-25 15:18:51 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-01-25 15:18:51 -0500 |
commit | e01ff6cda1be44900b9829c718733923b71db11f (patch) | |
tree | 561d7ea7d11deb70926f693a8a8371d6703fd472 | |
parent | d24443fb55ddc6a309c08a9a248128fef269d2a3 (diff) | |
download | jquery-e01ff6cda1be44900b9829c718733923b71db11f.tar.gz jquery-e01ff6cda1be44900b9829c718733923b71db11f.zip |
Cleaned up divs that should've been removed after a test run.
-rw-r--r-- | test/unit/manipulation.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 16992aeb7..031bf5b72 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -977,7 +977,7 @@ test("empty()", function() { }); test("jQuery.cleanData", function() { - expect(10); + expect(14); var type, pos, div, child; @@ -1007,6 +1007,9 @@ test("jQuery.cleanData", function() { // Should do nothing pos = "Inner"; child.trigger("click"); + + // Should trigger 2 + div.remove(); type = "html"; @@ -1023,6 +1026,9 @@ test("jQuery.cleanData", function() { // Should do nothing pos = "Inner"; child.trigger("click"); + + // Should trigger 2 + div.remove(); function getDiv() { var div = jQuery("<div class='outer'><div class='inner'></div></div>").click(function(){ |