Skip to content
Permalink
Browse files

Fix typos in original tests

  • Loading branch information...
David Murdoch
David Murdoch committed May 12, 2011
1 parent 0bda22f commit 7bca8c100445d1ab8da4f25bd9201408f5eb2174
Showing with 2 additions and 3 deletions.
  1. +2 −3 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" );
});

0 comments on commit 7bca8c1

Please sign in to comment.
You can’t perform that action at this time.