Fix typos in original tests

This commit is contained in:
David Murdoch 2011-05-12 20:44:24 +00:00
parent 0bda22f443
commit 7bca8c1004

View File

@ -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" );
});