diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-09-28 10:00:25 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-09-28 10:00:25 -0400 |
commit | 39b452e1be8d6ef9006c26be3495c633d15ff96f (patch) | |
tree | 84f688dbf95235993fcb8acd6b5b35348d0d4b39 /tests/unit/effects | |
parent | 04e5b103ca81e630bab5e072f805ef4a3fe489c9 (diff) | |
download | jquery-ui-39b452e1be8d6ef9006c26be3495c633d15ff96f.tar.gz jquery-ui-39b452e1be8d6ef9006c26be3495c633d15ff96f.zip |
Effects tests: Ignore leading/trailing whitespace when comparing style properties.
Diffstat (limited to 'tests/unit/effects')
-rw-r--r-- | tests/unit/effects/effects_core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js index 2b4d684eb..1e5da2113 100644 --- a/tests/unit/effects/effects_core.js +++ b/tests/unit/effects/effects_core.js @@ -143,10 +143,10 @@ asyncTest( "animateClass clears style properties when stopped", function() { expect( 2 ); test.addClass( "testChangeBackground", duration ); - notEqual( orig, style.cssText, "cssText is the not the same after starting animation" ); + notEqual( orig, style.cssText, "cssText is not the same after starting animation" ); test.stop( true, true ); - equal( orig, style.cssText, "cssText is the same after stopping animation midway" ); + equal( orig, $.trim( style.cssText ), "cssText is the same after stopping animation midway" ); start(); }); |