aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java
index 176b5cb8..ca6e6a08 100644
--- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java
+++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java
@@ -667,7 +667,7 @@ public class GQueryCoreTestGwt extends GWTTestCase {
//parentsUntil()
content = "<div id='mainDiv'><div id='subDiv1' class='subDiv'><div id='subSubDiv1'><p id='p1'>child1</p></div></div><div id='subDiv2' class='subDiv'><div id='subSubDiv2'><p id='p2'>child2</p></div></div></div>";
$(e).html(content);
- $("p",e).parentsUntil("#mainDiv").css(CSS.COLOR.with(RGBColor.RED));
+ $("p", e).parentsUntil("#mainDiv").css(CSS.COLOR.with(RGBColor.RED));
assertEquals("red", $("#subDiv1", e).css(CSS.COLOR, false));
assertEquals("red", $("#subSubDiv1", e).css(CSS.COLOR, false));
assertEquals("red", $("#subDiv2", e).css(CSS.COLOR, false));
@@ -684,7 +684,7 @@ public class GQueryCoreTestGwt extends GWTTestCase {
content = "<div id='mainDiv'><div id='subDiv1' class='subDiv'><div id='subSubDiv1'><p id='p1'>child1</p></div></div><div id='subDiv2' class='subDiv'><div id='subSubDiv2'><p id='p2'>child2</p></div></div></div>";
$(e).html(content);
Element node = $("#mainDiv", e).get(0);
- $("p",e).parentsUntil(node).css(CSS.COLOR.with(RGBColor.RED));
+ $("p", e).parentsUntil(node).css(CSS.COLOR.with(RGBColor.RED));
assertEquals("red", $("#subDiv1", e).css(CSS.COLOR, false));
assertEquals("red", $("#subSubDiv1", e).css(CSS.COLOR, false));
assertEquals("red", $("#subDiv2", e).css(CSS.COLOR, false));