]> source.dussan.org Git - gwtquery.git/commitdiff
Fix test
authorManolo Carrasco <manolo@apache.org>
Sat, 24 Sep 2011 06:04:01 +0000 (06:04 +0000)
committerManolo Carrasco <manolo@apache.org>
Sat, 24 Sep 2011 06:04:01 +0000 (06:04 +0000)
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java

index d67d7772e7d343399566ce4fc135708d0c367cec..788b54f2bdeab3f8aca175e0867781ca26c78474 100644 (file)
@@ -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"));