aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Murdoch <musicisair@yahoo.com>2011-05-12 20:44:24 +0000
committerDavid Murdoch <musicisair@yahoo.com>2011-05-12 20:44:24 +0000
commit7bca8c100445d1ab8da4f25bd9201408f5eb2174 (patch)
tree9051161e4b7e7a52ae915d9749b0b869ba10b3a4
parent0bda22f443ace20035ec4f049c60b951d5c82b03 (diff)
downloadjquery-ui-7bca8c100445d1ab8da4f25bd9201408f5eb2174.tar.gz
jquery-ui-7bca8c100445d1ab8da4f25bd9201408f5eb2174.zip
Fix typos in original tests
-rw-r--r--tests/unit/position/position_core.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/position/position_core.js b/tests/unit/position/position_core.js
index dbbda8a3b..b3f5d9b61 100644
--- a/tests/unit/position/position_core.js
+++ b/tests/unit/position/position_core.js
@@ -1,7 +1,7 @@
(function( $ ) {
function scrollTopSupport() {
- $( window ).scrollTop( 1 );
+ $( window ).scrollTop( 1 );
return $( window ).scrollTop() === 1;
}
@@ -64,7 +64,6 @@ test( "positions", function() {
center: 3,
right: 6,
top: 0,
- center: 3,
bottom: 6
};
var start = { left: 4, top: 4 };
@@ -351,7 +350,7 @@ test( "collision: flip, with offset", function() {
collisionTest2({
collision: "flip",
- at: "left-2 top-3",
+ at: "left-2 top-3"
}, { top: $( window ).height() + 3, left: $( window ).width() + 2 }, "right bottom, negative offset" );
});