aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-09-24 06:04:01 +0000
committerManolo Carrasco <manolo@apache.org>2011-09-24 06:04:01 +0000
commitdc1610876560dfd20254b37ec763c0e90ee6a0a7 (patch)
tree34912eaecd30f51a9c7091a1b3a87a6ab598f559 /gwtquery-core
parent1e8779844fe28cfef5dfc72d4ae4e67d954d7207 (diff)
downloadgwtquery-dc1610876560dfd20254b37ec763c0e90ee6a0a7.tar.gz
gwtquery-dc1610876560dfd20254b37ec763c0e90ee6a0a7.zip
Fix test
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryJsTest.java3
1 files changed, 2 insertions, 1 deletions
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"));