]> source.dussan.org Git - jquery.git/commitdiff
Correct typos in the test assertion
authorOleg <markelog@gmail.com>
Sat, 10 Aug 2013 06:49:14 +0000 (10:49 +0400)
committerOleg <markelog@gmail.com>
Sat, 10 Aug 2013 06:49:14 +0000 (10:49 +0400)
test/unit/effects.js

index 18dac1f3da3b72b676b9badad17b12a878f01fef..87bb151e9b87b51383a1245647855b78a026a64e 100644 (file)
@@ -1430,7 +1430,7 @@ asyncTest("line-height animates correctly (#13855)", 12, function() {
                                initial = initialHeight[ i ],
                                height = jQuery( this ).height();
                        ok( height < initial, "hide " + label + ": upper bound; height: " + height + "; intitial: " + initial );
-                       ok( height > initial / 3, "hide " + label + ": lower bound; height: "  + height + "; intitial/3: " + initial );
+                       ok( height > initial / 2, "hide " + label + ": lower bound; height: "  + height + "; intitial/2: " + initial / 2 );
                });
                animated.stop( true, true ).hide().animate( { "line-height": "show" }, 1500 );
                setTimeout(function() {