diff options
author | Adolfo Panizo <adolfo.panizo@gmail.com> | 2014-12-26 19:14:36 +0100 |
---|---|---|
committer | Adolfo Panizo <adolfo.panizo@gmail.com> | 2014-12-26 19:14:36 +0100 |
commit | 84909924a3af81010bc6c6df933b5c44f125c950 (patch) | |
tree | 16e8e17a5c8c92437c240c3c7606daf7eb87f211 | |
parent | 447ddbc2d7b69a56540d8b1116913d91b04ec431 (diff) | |
download | gwtquery-84909924a3af81010bc6c6df933b5c44f125c950.tar.gz gwtquery-84909924a3af81010bc6c6df933b5c44f125c950.zip |
using assertTrue and asserFalse instead of assertEquals(true/false, ...)
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java index 4d66d771..66e1aab5 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryWidgetsTestGwt.java @@ -138,9 +138,9 @@ public class GQueryWidgetsTestGwt extends GWTTestCase { final Button b1 = new Button("Button click"); RootPanel.get().add(b1); GQuery g = $(b1); - assertEquals(true, $(b1).isVisible()); + assertTrue($(b1).isVisible()); g.hide(); - assertEquals(false, $(b1).isVisible()); + assertFalse($(b1).isVisible()); b1.removeFromParent(); } |