diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-03-23 18:42:23 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-03-25 15:55:53 -0400 |
commit | 899d90709a141ce22fedab2cfdf6044d9928f831 (patch) | |
tree | 3ffc9ed66db142e5661586fa42083bb4bcb7cadd /tests/unit/dialog | |
parent | e109e768190089744804d084e9a26f010dd63a37 (diff) | |
download | jquery-ui-899d90709a141ce22fedab2cfdf6044d9928f831.tar.gz jquery-ui-899d90709a141ce22fedab2cfdf6044d9928f831.zip |
Tests: Handle jQuery git returning `null` for empty attributes
jQuery now returns `null` for empty attributes instead of `undefined`.
Closes gh-1516
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r-- | tests/unit/dialog/dialog_core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js index f600722fc..73d24fed0 100644 --- a/tests/unit/dialog/dialog_core.js +++ b/tests/unit/dialog/dialog_core.js @@ -78,7 +78,7 @@ test( "ARIA", function() { element.remove(); element = $("<div><div aria-describedby='section2'><p id='section2'>descriotion</p></div></div>").dialog(); - strictEqual( element.dialog( "widget" ).attr( "aria-describedby" ), undefined, "no aria-describedby added, as already present in markup" ); + equal( element.dialog( "widget" ).attr( "aria-describedby" ), null, "no aria-describedby added, as already present in markup" ); element.remove(); }); |