Skip to content
Permalink
Browse files

Making the test suite a little more XML-compliant.

  • Loading branch information
jeresig committed Jul 8, 2007
1 parent bdb5dad commit 5ed992d5f590a06429859c6b5c511fce07a33b28
Showing with 4 additions and 4 deletions.
  1. +2 −2 build/test/index.html
  2. +2 −2 src/jquery/coreTest.js
@@ -91,8 +91,8 @@ <h2 id="userAgent"></h2>
<b id="floatTest">Float test.</b>
<iframe id="iframe" name="iframe"></iframe>
<form id="lengthtest">
<input type="text" id="length" name="test">
<input type="text" id="idTest" name="id">
<input type="text" id="length" name="test"/>
<input type="text" id="idTest" name="id"/>
</form>
<table id="table"></table>
</div>
@@ -407,7 +407,7 @@ test("append(String|Element|Array&lt;Element&gt;|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();

0 comments on commit 5ed992d

Please sign in to comment.
You can’t perform that action at this time.