git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24443f
)
Cleaned up divs that should've been removed after a test run.
author
jeresig
<jeresig@gmail.com>
Mon, 25 Jan 2010 20:18:51 +0000
(15:18 -0500)
committer
jeresig
<jeresig@gmail.com>
Mon, 25 Jan 2010 20:18:51 +0000
(15:18 -0500)
test/unit/manipulation.js
patch
|
blob
|
history
diff --git
a/test/unit/manipulation.js
b/test/unit/manipulation.js
index
16992ae
..
031bf5b
100644
(file)
--- 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(){