From: Manolo Carrasco Date: Sat, 24 Sep 2011 06:04:01 +0000 (+0000) Subject: Fix test X-Git-Tag: release-1.3.2~194 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc1610876560dfd20254b37ec763c0e90ee6a0a7;p=gwtquery.git Fix test --- diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java index d67d7772..788b54f2 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java @@ -119,13 +119,14 @@ public class GQueryJsTest extends GWTTestCase { assertEquals("rgb(0,0,139)", p.getStr("color")); p = $$("a: 1, b: 0.5, c: null, d: whatever, e: true, f: false"); + System.out.println(p.tostring()); assertEquals(1, p.getInt("a")); assertEquals(0.5f, p.getFloat("b")); assertEquals("whatever", p.getStr("d")); assertNull(p.getStr("c")); assertNull(p.getStr("ccc")); assertTrue(p.getBoolean("e")); - assertTrue(p.getBoolean("d")); + assertFalse(p.getBoolean("d")); assertFalse(p.getBoolean("f")); assertFalse(p.getBoolean("c")); assertTrue(p.defined("d"));