Skip to content

Commit

Permalink
Progressbar unit test: Ignore false vs. false in IE6 in aria attribut…
Browse files Browse the repository at this point in the history
…es test
  • Loading branch information
jzaefferer committed Apr 13, 2010
1 parent 094ab5a commit 59ef373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/progressbar/progressbar_core.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test("accessibility", function() {
equals(el.attr("aria-disabled"), "true", "aria-disabled on"); equals(el.attr("aria-disabled"), "true", "aria-disabled on");
el.progressbar("enable"); el.progressbar("enable");
// FAIL: for some reason IE6 returns a boolean false instead of the string // FAIL: for some reason IE6 returns a boolean false instead of the string
equals(el.attr("aria-disabled"), "false", "aria-disabled off"); equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 ? false : "false", "aria-disabled off");
}); });


})(jQuery); })(jQuery);

0 comments on commit 59ef373

Please sign in to comment.