diff options
author | Felix Nagel <info@felixnagel.com> | 2013-05-07 22:13:57 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-05-07 22:17:22 +0200 |
commit | ef8c792db85b9c6177dd8c4ee5b5fda4fab795a0 (patch) | |
tree | fb086306be17c4ff95a4caef1b664c3d33823ea7 /tests | |
parent | adcfa63ac4f4541729316dcbc89359486db4486a (diff) | |
download | jquery-ui-ef8c792db85b9c6177dd8c4ee5b5fda4fab795a0.tar.gz jquery-ui-ef8c792db85b9c6177dd8c4ee5b5fda4fab795a0.zip |
Selectmenu Tests: fixed spacing
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/selectmenu/selectmenu_core.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/selectmenu/selectmenu_core.js b/tests/unit/selectmenu/selectmenu_core.js index 9e1ec6e1d..aadea0f29 100644 --- a/tests/unit/selectmenu/selectmenu_core.js +++ b/tests/unit/selectmenu/selectmenu_core.js @@ -2,7 +2,7 @@ module( "selectmenu: core" ); -asyncTest("accessibility", function () { +asyncTest( "accessibility", function() { var links, element = $( "#speed" ).selectmenu(), button = element.selectmenu( "widget" ), @@ -11,7 +11,7 @@ asyncTest("accessibility", function () { button.simulate( "focus" ); links = menu.find( "li.ui-menu-item a" ); - expect(12 + links.length * 2); + expect( 12 + links.length * 2 ); setTimeout(function() { equal( button.attr( "role" ), "combobox", "button link role" ); @@ -88,8 +88,8 @@ $.each([ }, 1 ); }); - asyncTest("state synchronization - after click on item - " + settings.type, function () { - expect(4); + asyncTest( "state synchronization - after click on item - " + settings.type, function () { + expect( 4 ); var links, element = $( settings.selector ).selectmenu(), @@ -123,7 +123,7 @@ $.each([ }); asyncTest( "state synchronization - after focus item and keydown on button - " + settings.type, function () { - expect(4); + expect( 4 ); var links, element = $( settings.selector ).selectmenu(), @@ -141,7 +141,7 @@ $.each([ links.first().simulate( "mouseover" ).trigger( "click" ); // open menu again and hover item button.simulate( "click" ); - links.eq(3).simulate( "mouseover" ); + links.eq( 3 ).simulate( "mouseover" ); // close and use keyboard control on button button.simulate( "keydown", { keyCode: $.ui.keyCode.ESCAPE } ); button.simulate( "focus" ); |