});
test("jQuery.cleanData", function() {
- expect(10);
+ expect(14);
var type, pos, div, child;
// Should do nothing
pos = "Inner";
child.trigger("click");
+
+ // Should trigger 2
+ div.remove();
type = "html";
// 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(){