aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCorey Frang <gnarf@gnarf.net>2015-06-26 20:20:48 -0400
committerCorey Frang <gnarf@gnarf.net>2015-06-26 20:20:53 -0400
commita44cfa00665d21c3197e25c2d63741dc15f6ffb9 (patch)
treee3ce597cb022bd30513b6b59f94104a9e410e45f /test
parentb3b2d6c3dd51fbdc69e1942e9af75cc99a1834c2 (diff)
downloadjquery-a44cfa00665d21c3197e25c2d63741dc15f6ffb9.tar.gz
jquery-a44cfa00665d21c3197e25c2d63741dc15f6ffb9.zip
Tests: Lower the checks rounding error
The CSS value rounding error was causig failures on FF and IE.
Diffstat (limited to 'test')
-rw-r--r--test/unit/tween.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/tween.js b/test/unit/tween.js
index 8b40d974e..39894c575 100644
--- a/test/unit/tween.js
+++ b/test/unit/tween.js
@@ -198,7 +198,7 @@ test( "jQuery.Tween - Element", function() {
ok( easingSpy.calledWith( 0.1, 0.1 * testOptions.duration, 0, 1, testOptions.duration ),
"...using jQuery.easing.linear with back-compat arguments" );
- equal( parseFloat( testElement.style.height ).toFixed( 5 ), eased.toFixed( 5 ), "Set value" );
+ equal( parseFloat( testElement.style.height ).toFixed( 2 ), eased.toFixed( 2 ), "Set value" );
tween.run( 1 );
equal( testElement.style.height, "0px", "Checking another value" );