X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=bfb2f1cf4242cba4e0e4056935488c927d2b2308;hb=b14f02899e74c429effadd88527ffde17650149a;hp=8fd060578d6e97e10261e49b2c8409d8b0a75766;hpb=1ca82ccd9489f11d3a8fbdd8a32b4c164ffaf483;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index 8fd0605..bfb2f1c 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -12,7 +12,7 @@ test("Basic requirements", function() { }); test("jQuery()", function() { - expect(23); + expect(24); // Basic constructor's behavior @@ -84,6 +84,11 @@ test("jQuery()", function() { exec = true; elem.click(); + + for ( var i = 0; i < 3; ++i ) { + elem = jQuery(""); + } + equals( elem[0].defaultValue, "TEST", "Ensure cached nodes are cloned properly (Bug #6655)" ); }); test("selector state", function() {