Skip to content
Permalink
Browse files

Effects tests: Ignore leading/trailing whitespace when comparing styl…

…e properties.
  • Loading branch information
scottgonzalez committed Sep 28, 2011
1 parent 04e5b10 commit 39b452e1be8d6ef9006c26be3495c633d15ff96f
Showing with 2 additions and 2 deletions.
  1. +2 −2 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();
});

0 comments on commit 39b452e

Please sign in to comment.
You can’t perform that action at this time.