diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-02-28 15:56:32 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-02-29 18:36:40 +0100 |
commit | 72023dd045a7fead5a3136ec2400ad4743a190d2 (patch) | |
tree | 4999a287a815e6a4200498a2a0241abc349fe599 /tests/unit/position/position_deprecated.js | |
parent | e6b7486abf2e0f98837e76027084fad6fe908cff (diff) | |
download | jquery-ui-72023dd045a7fead5a3136ec2400ad4743a190d2.tar.gz jquery-ui-72023dd045a7fead5a3136ec2400ad4743a190d2.zip |
Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.
Diffstat (limited to 'tests/unit/position/position_deprecated.js')
-rw-r--r-- | tests/unit/position/position_deprecated.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/position/position_deprecated.js b/tests/unit/position/position_deprecated.js index 3e72c4a4d..9a3164246 100644 --- a/tests/unit/position/position_deprecated.js +++ b/tests/unit/position/position_deprecated.js @@ -8,7 +8,7 @@ test( "offset", function() { offset: "10", collision: "none" }); - same( $( "#elx" ).offset(), { top: 70, left: 50 }, "single value" ); + deepEqual( $( "#elx" ).offset(), { top: 70, left: 50 }, "single value" ); $( "#elx" ).position({ my: "left top", @@ -17,7 +17,7 @@ test( "offset", function() { offset: "5 -3", collision: "none" }); - same( $( "#elx" ).offset(), { top: 57, left: 45 }, "two values" ); + deepEqual( $( "#elx" ).offset(), { top: 57, left: 45 }, "two values" ); $( "#elx" ).position({ my: "left top", @@ -26,7 +26,7 @@ test( "offset", function() { offset: "5px -3px", collision: "none" }); - same( $( "#elx" ).offset(), { top: 57, left: 45 }, "with units" ); + deepEqual( $( "#elx" ).offset(), { top: 57, left: 45 }, "with units" ); }); }( jQuery ) ); |