Incorrect effects-unit-test could conceal failures
|Reported by:||bugbegone||Owned by:|
|Keywords:||fx unit test||Cc:|
In test/unit/effect.js on Line 519 the superfluous
notEqual(jQuery.css(this, "height") + "px", old_h, ....
should be removed.
css(...) returns the value with units intact anyway. Thus if jQuery.css(this, "height") and old_h should happen to have the same value the notEqual-check can't catch this because the appended px string causes the values to always be different.