Skip to content
Permalink
Browse files

Since .getAttribute() returns strings, we should check for them.

  • Loading branch information...
dmethvin committed Oct 1, 2012
1 parent 9ced027 commit 631fbc769c952381fc3f42ffd77f7b5e4e6a21cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/attributes.js
@@ -693,7 +693,7 @@ test("prop('tabindex', value)", 10, function() {

clone = element.clone();
clone.prop( "tabindex", 1 );
equal( clone[ 0 ].getAttribute("tabindex"), 1, "set tabindex on cloned element" );
equal( clone[ 0 ].getAttribute("tabindex"), "1", "set tabindex on cloned element" );
});

test("removeProp(String)", function() {

0 comments on commit 631fbc7

Please sign in to comment.
You can’t perform that action at this time.