aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r--test/unit/attributes.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index 08e1dc2dc..34040939f 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -590,8 +590,7 @@ test( "removeAttr(String)", function() {
$first = jQuery("<div Case='mixed'></div>");
equal( $first.attr("Case"), "mixed", "case of attribute doesn't matter" );
$first.removeAttr("Case");
- // IE 6/7 return empty string here, not undefined
- ok( !$first.attr("Case"), "mixed-case attribute was removed" );
+ equal( $first.attr( "Case" ), undefined, "mixed-case attribute was removed" );
});
test( "removeAttr(String) in XML", function() {