]> source.dussan.org Git - gwtquery.git/commitdiff
Fix spacing
authorJean-Christophe Lariviere <jclariviere@arcbees.com>
Fri, 12 Dec 2014 17:10:21 +0000 (12:10 -0500)
committerJean-Christophe Lariviere <jclariviere@arcbees.com>
Fri, 12 Dec 2014 17:10:21 +0000 (12:10 -0500)
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java

index 176b5cb80ee174cac095ee6e3cde77e4009100d0..ca6e6a087f34e53f3aca1bea82e15747940e1a37 100644 (file)
@@ -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));