Skip to content

Commit

Permalink
Effects tests: Ignore leading/trailing whitespace when comparing styl…
Browse files Browse the repository at this point in the history
…e properties.
  • Loading branch information
scottgonzalez committed Sep 28, 2011
1 parent 04e5b10 commit 39b452e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/effects/effects_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit 39b452e

Please sign in to comment.