git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgraded Rhino to 1.6r6.
[jquery.git]
/
src
/
jquery
/
coreTest.js
diff --git
a/src/jquery/coreTest.js
b/src/jquery/coreTest.js
index
25e4d52
..
8d7e9f8
100644
(file)
--- a/
src/jquery/coreTest.js
+++ b/
src/jquery/coreTest.js
@@
-407,7
+407,7
@@
test("append(String|Element|Array<Element>|jQuery)", function() {
ok( pass, "Test for appending a DOM node to the contents of an IFrame" );
reset();
ok( pass, "Test for appending a DOM node to the contents of an IFrame" );
reset();
- $('<fieldset>').appendTo('#form').append('<legend id="legend">test</legend>');
+ $('<fieldset/>').appendTo('#form').append('<legend id="legend">test</legend>');
t( 'Append legend', '#legend', ['legend'] );
reset();
t( 'Append legend', '#legend', ['legend'] );
reset();
@@
-417,7
+417,7
@@
test("append(String|Element|Array<Element>|jQuery)", function() {
$('#table').append('<colgroup></colgroup>');
ok( $('#table colgroup').length, "Append colgroup" );
$('#table').append('<colgroup></colgroup>');
ok( $('#table colgroup').length, "Append colgroup" );
- $('#table colgroup').append('<col>');
+ $('#table colgroup').append('<col/>');
ok( $('#table colgroup col').length, "Append col" );
reset();
ok( $('#table colgroup col').length, "Append col" );
reset();
@@
-692,7
+692,7
@@
test("val(String)", function() {
});
test("html(String)", function() {
});
test("html(String)", function() {
- expect(2);
+ expect(1);
var div = $("div");
div.html("<b>test</b>");
var pass = true;
var div = $("div");
div.html("<b>test</b>");
var pass = true;