aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r--tests/unit/dialog/dialog_core.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js
index 817f76ea9..b488bd112 100644
--- a/tests/unit/dialog/dialog_core.js
+++ b/tests/unit/dialog/dialog_core.js
@@ -10,10 +10,10 @@ test("title id", function() {
expect(1);
var titleId,
- el = $('<div></div>').dialog();
+ el = $("<div></div>").dialog();
- titleId = el.dialog('widget').find('.ui-dialog-title').attr('id');
- ok( /ui-id-\d+$/.test( titleId ), 'auto-numbered title id');
+ titleId = el.dialog("widget").find(".ui-dialog-title").attr("id");
+ ok( /ui-id-\d+$/.test( titleId ), "auto-numbered title id");
el.remove();
});
@@ -27,7 +27,7 @@ test( "ARIA", function() {
equal( wrapper.attr( "aria-describedby" ), el.attr( "id" ), "aria-describedby added" );
el.remove();
- el = $( '<div><div aria-describedby="section2"><p id="section2">descriotion</p></div></div>' ).dialog();
+ el = $("<div><div aria-describedby='section2'><p id='section2'>descriotion</p></div></div>").dialog();
strictEqual( el.dialog( "widget" ).attr( "aria-describedby" ), undefined, "no aria-describedby added, as already present in markup" );
el.remove();
});