diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:27:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:28:26 -0400 |
commit | 0a5a9090f827cd186ac486344327bcbb3901fd34 (patch) | |
tree | 085dfcb5a99db48b464bff91e112a37cf6e206af /tests/unit/dialog/dialog_core.js | |
parent | 58a120bb4b022b3d2237aabaa960e42d9fe821ba (diff) | |
download | jquery-ui-0a5a9090f827cd186ac486344327bcbb3901fd34.tar.gz jquery-ui-0a5a9090f827cd186ac486344327bcbb3901fd34.zip |
Tests: Lint.
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r-- | tests/unit/dialog/dialog_core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js index 4a671968e..5d7beb99b 100644 --- a/tests/unit/dialog/dialog_core.js +++ b/tests/unit/dialog/dialog_core.js @@ -40,8 +40,8 @@ function drag(handle, dx, dy) { function moved(dx, dy, msg) { msg = msg ? msg + "." : ""; - var actual = { left: Math.round(offsetAfter.left), top: Math.round(offsetAfter.top) }; - var expected = { left: Math.round(offsetBefore.left + dx), top: Math.round(offsetBefore.top + dy) }; + var actual = { left: Math.round(offsetAfter.left), top: Math.round(offsetAfter.top) }, + expected = { left: Math.round(offsetBefore.left + dx), top: Math.round(offsetBefore.top + dy) }; deepEqual(actual, expected, 'dragged[' + dragged.dx + ', ' + dragged.dy + '] ' + msg); } @@ -59,8 +59,8 @@ function shouldnotmove(why) { function resized(dw, dh, msg) { msg = msg ? msg + "." : ""; - var actual = { width: widthAfter, height: heightAfter }; - var expected = { width: widthBefore + dw, height: heightBefore + dh }; + var actual = { width: widthAfter, height: heightAfter }, + expected = { width: widthBefore + dw, height: heightBefore + dh }; deepEqual(actual, expected, 'resized[' + dragged.dx + ', ' + dragged.dy + '] ' + msg); } |