aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java')
-rw-r--r--theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java b/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java
index c76bbb8458..a07292fa83 100644
--- a/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java
+++ b/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java
@@ -21,6 +21,9 @@ import java.net.URISyntaxException;
import junit.framework.Assert;
+import org.junit.Test;
+import org.w3c.css.sac.CSSException;
+
import com.vaadin.sass.AbstractTestBase;
import com.vaadin.sass.ScssStylesheet;
import com.vaadin.sass.handler.SCSSDocumentHandler;
@@ -28,9 +31,6 @@ import com.vaadin.sass.handler.SCSSDocumentHandlerImpl;
import com.vaadin.sass.parser.Parser;
import com.vaadin.sass.tree.CommentNode;
-import org.junit.Test;
-import org.w3c.css.sac.CSSException;
-
public class Comments extends AbstractTestBase {
String scss = "/scss/comments.scss";
String css = "/css/comments.css";
@@ -45,7 +45,7 @@ public class Comments extends AbstractTestBase {
ScssStylesheet root = handler.getStyleSheet();
Assert.assertNotNull(root);
Assert.assertEquals(6, root.getChildren().size());
- Assert.assertTrue(root.getChildren().get(0) instanceof CommentNode);
+ Assert.assertTrue(root.getChildren().get(1) instanceof CommentNode);
Assert.assertTrue(root.getChildren().get(2) instanceof CommentNode);
}