diff options
author | Timmy Willison <4timmywil@gmail.com> | 2018-01-10 11:42:24 -0500 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2018-01-16 10:18:27 -0500 |
commit | 91fb18190e5ab9821e3c74b6aecbb5d197c6c5f6 (patch) | |
tree | cc66d965efac7b520f36bee20fe32c2ac8b65493 /test/unit/attributes.js | |
parent | 5e6deb3999539e6666106a524fe6f067f60a41f1 (diff) | |
download | jquery-91fb18190e5ab9821e3c74b6aecbb5d197c6c5f6.tar.gz jquery-91fb18190e5ab9821e3c74b6aecbb5d197c6c5f6.zip |
Tests: fix weird flaky attributes test in Edge 16
Fixes gh-3867
Close gh-3931
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r-- | test/unit/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index b446fe1c3..5d88634a0 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -592,7 +592,7 @@ QUnit.test( "removeAttr(String)", function( assert ) { assert.expect( 12 ); var $first; - assert.equal( jQuery( "#mark" ).removeAttr( "class" ).attr( "class" ), undefined, "remove class" ); + assert.equal( jQuery( "<div class='hello' />" ).removeAttr( "class" ).attr( "class" ), undefined, "remove class" ); assert.equal( jQuery( "#form" ).removeAttr( "id" ).attr( "id" ), undefined, "Remove id" ); assert.equal( jQuery( "#foo" ).attr( "style", "position:absolute;" ).removeAttr( "style" ).attr( "style" ), undefined, "Check removing style attribute" ); assert.equal( jQuery( "#form" ).attr( "style", "position:absolute;" ).removeAttr( "style" ).attr( "style" ), undefined, "Check removing style attribute on a form" ); |