Skip to content

Commit

Permalink
Dialog: Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Aug 31, 2016
1 parent d2ce363 commit 4e39014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/dialog/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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 );
}
} );

Expand Down

0 comments on commit 4e39014

Please sign in to comment.