]> source.dussan.org Git - jquery-ui.git/commitdiff
Draggable Tests: fix copypasta'd assertion messages.(cherry picked from commit 6a3bf6...
authorMike Sherov <mike.sherov@gmail.com>
Sun, 7 Apr 2013 02:59:56 +0000 (22:59 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Apr 2013 19:24:09 +0000 (15:24 -0400)
tests/unit/draggable/draggable_core.js

index 9ef18c4b27883a22ebf583a3adf86b0ac0ae96e8..88b9c3f2359f6348cc46db47442138ac5c73dd5b 100644 (file)
@@ -139,8 +139,8 @@ test( "#5009: scroll not working with parent's position fixed", function() {
                                $( document ).scrollTop( startValue ).scrollLeft( startValue );
                        },
                        stop: function( event, ui ) {
-                               equal( ui.position.left, 10, "left position is correct despite overflow on HTML" );
-                               equal( ui.position.top, 10, "top position is correct despite overflow on HTML" );
+                               equal( ui.position.left, 10, "left position is correct when parent position is fixed" );
+                               equal( ui.position.top, 10, "top position is correct when parent position is fixed" );
                                $( document ).scrollTop( 0 ).scrollLeft( 0 );
                        }
                }),