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:21:32 -0400
commit1390d0736f6cff7a75ec0730967a98e26df1aa13 (patch)
tree46a8dfbe7fc45df327c2da4f9c431a8266c9a183 /test
parent0ff805772ad046ff1e9ecf1f9958408ce0cfcfcd (diff)
downloadjquery-1390d0736f6cff7a75ec0730967a98e26df1aa13.tar.gz
jquery-1390d0736f6cff7a75ec0730967a98e26df1aa13.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" );