From 4e39014803418a1cf60d0d565a6679baa93da0da Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 31 Aug 2016 11:22:54 -0400 Subject: Dialog: Fix code style --- tests/unit/dialog/helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unit/dialog/helper.js b/tests/unit/dialog/helper.js index ede326156..ac013ecfc 100644 --- a/tests/unit/dialog/helper.js +++ b/tests/unit/dialog/helper.js @@ -34,7 +34,7 @@ return $.extend( helper, { }, shouldResize: function( assert, element, dw, dh, msg ) { - var actualDH, actualDW, heightAfter, widthAfter + var actualDH, actualDW, heightAfter, widthAfter, d = element.dialog( "widget" ), handle = $( ".ui-resizable-se", d ), heightBefore = element.height(), @@ -52,7 +52,7 @@ return $.extend( helper, { // TODO: Switch to assert.close(). // Also change the testDrag() helper. - assert.ok( Math.abs(actualDH - dh) <= 1 && Math.abs(actualDW - dw) <= 1, "resized[50, 50] " + msg ); + assert.ok( Math.abs( actualDH - dh ) <= 1 && Math.abs( actualDW - dw ) <= 1, "resized[50, 50] " + msg ); } } ); -- cgit v1.2.3