git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleans up statusText handling and simplifies 304 notmodified logic.
[jquery.git]
/
test
/
unit
/
core.js
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
8fd0605
..
bfb2f1c
100644
(file)
--- a/
test/unit/core.js
+++ b/
test/unit/core.js
@@
-12,7
+12,7
@@
test("Basic requirements", function() {
});
test("jQuery()", function() {
});
test("jQuery()", function() {
- expect(23);
+ expect(24);
// Basic constructor's behavior
// Basic constructor's behavior
@@
-84,6
+84,11
@@
test("jQuery()", function() {
exec = true;
elem.click();
exec = true;
elem.click();
+
+ for ( var i = 0; i < 3; ++i ) {
+ elem = jQuery("<input type='text' value='TEST' />");
+ }
+ equals( elem[0].defaultValue, "TEST", "Ensure cached nodes are cloned properly (Bug #6655)" );
});
test("selector state", function() {
});
test("selector state", function() {