diff options
-rw-r--r-- | test/unit/effects.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index 729ba29bc..780c5f4cf 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -1649,7 +1649,8 @@ asyncTest( "animate does not change start value for non-px animation (#7109)", 1 computed.push( parseFloat( child.css( "width" ) ) ); } }).queue( function( next ) { - equal( computed[0], actual, "Starting width was unchanged" ); + var ratio = computed[ 0 ] / actual; + ok( ratio > .9 && ratio < 1.1 , "Starting width was close enough" ); next(); start(); }); |