diff options
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java index 11669ba4..37993d8d 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEffectsTestGwt.java @@ -378,8 +378,9 @@ public class GQueryEffectsTestGwt extends GWTTestCase { final GQuery g = $("#idtest td"); TransitFx fx = (TransitFx)TransitionsAnimation.computeFxProp(g.get(0), "width", "+=100", false); - assertEquals("10px", fx.transitStart.replace(".0","")); - assertEquals("110px", fx.transitEnd.replace(".0","")); + assertEquals("10", fx.transitStart.replace(".0","")); + assertEquals("110", fx.transitEnd.replace(".0","")); + assertEquals("px", fx.unit); } public void testStop() { |