Skip to content

Commit

Permalink
copy and paste cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
petermichaux committed Mar 29, 2013
1 parent 873f985 commit 72da256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tst/parseHTMLSuite.js
Expand Up @@ -103,14 +103,14 @@ buster.testCase("parseHTML test suite", {
},

"test parse unchecked radio": function() {
var html = ' <input type="radio" name="alpha"></option> ';
var html = ' <input type="radio" name="alpha"> ';
var frag = arbutus.parseHTML(html);
assert.same('INPUT', frag.firstChild.tagName);
assert.same(false, frag.firstChild.checked);
},

"test parse checked radio": function() {
var html = ' <input type="radio" name="alpha" checked="checked"></option> ';
var html = ' <input type="radio" name="alpha" checked="checked"> ';
var frag = arbutus.parseHTML(html);
assert.same('INPUT', frag.firstChild.tagName);
assert.same(true, frag.firstChild.checked);
Expand Down

0 comments on commit 72da256

Please sign in to comment.