Permalink
Browse files

minor test cleanup

  • Loading branch information...
1 parent d42ef93 commit ef141ea75480747c1b1e289c845db3daa2c735c6 @rvagg rvagg committed Sep 22, 2012
Showing with 9 additions and 9 deletions.
  1. +1 −3 tests/dommanip-test.js
  2. +8 −6 tests/tests.html
@@ -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()
})
View
@@ -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>

0 comments on commit ef141ea

Please sign in to comment.