mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Correct typos in the test assertion
This commit is contained in:
parent
5bbfa46aba
commit
012bda75f1
2
test/unit/effects.js
vendored
2
test/unit/effects.js
vendored
@ -1430,7 +1430,7 @@ asyncTest("line-height animates correctly (#13855)", 12, function() {
|
|||||||
initial = initialHeight[ i ],
|
initial = initialHeight[ i ],
|
||||||
height = jQuery( this ).height();
|
height = jQuery( this ).height();
|
||||||
ok( height < initial, "hide " + label + ": upper bound; height: " + height + "; intitial: " + initial );
|
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 );
|
animated.stop( true, true ).hide().animate( { "line-height": "show" }, 1500 );
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user