Skip to content

Commit

Permalink
minor test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Sep 22, 2012
1 parent d42ef93 commit ef141ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 1 addition & 3 deletions tests/dommanip-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ sink('DOM Manipulation', function(test, ok, before, after, assert) {
for (var i = 0; i < e.length; i++) h.appendChild(e[i])
actual = h.innerHTML.toLowerCase().replace(/[\n\r"]/g, '') // normalize acceptable cross-browser differences

if (actual != fixture)
alert('[' + actual + ']\n[' + fixture + ']')
assert.equal(actual, fixture)
assert.equal(actual, fixture)
done()
})

Expand Down
14 changes: 8 additions & 6 deletions tests/tests.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,18 @@
<input type="checkbox" checked="checked">
<input type="checkbox" checked="checked">
</div>
<div id="styles" style="margin-left:5px;"><div style="float: left;"></div></div>
<div id="callback-styles" data-original="15"></div>
<div id="data-test" data-foo="bar" data-hoo-haa="true" data-no-hoo-haa="false" data-int="100" data-float="111.11" data-empty="" data-whitespace=" " data-nulltastic="null"></div>
<div id="data-temp"></div>
<div id="insertiontasticSource"></div>
<div id="insertiontastic"></div>
</div>

<!-- special fixtures -->
<div id="overflowed">
<div id="overflower"></div>
</div>
<div id="styles" style="margin-left:5px;"><div style="float: left;"></div></div>
<div id="callback-styles" data-original="15"></div>
<div id="data-test" data-foo="bar" data-hoo-haa="true" data-no-hoo-haa="false" data-int="100" data-float="111.11" data-empty="" data-whitespace=" " data-nulltastic="null"></div>
<div id="data-temp"></div>
<div id="insertiontasticSource"></div>
<div id="insertiontastic"></div>

<h1>Bonzo Tests</h1>
<ol id="tests"></ol>
Expand Down

0 comments on commit ef141ea

Please sign in to comment.