Making the test suite a little more XML-compliant.

This commit is contained in:
John Resig 2007-07-08 04:46:21 +00:00
parent bdb5dad8e5
commit 5ed992d5f5
2 changed files with 4 additions and 4 deletions

View file

@ -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();
$('<fieldset>').appendTo('#form').append('<legend id="legend">test</legend>');
$('<fieldset/>').appendTo('#form').append('<legend id="legend">test</legend>');
t( 'Append legend', '#legend', ['legend'] );
reset();
@ -417,7 +417,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() {
$('#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();