summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources
diff options
context:
space:
mode:
authorHaijian Wang <haijian@vaadin.com>2013-06-28 16:18:13 +0300
committerVaadin Code Review <review@vaadin.com>2013-07-01 06:04:51 +0000
commite37464cecc8ad9836684a4cf15f3c48b3c8565e0 (patch)
tree0508aa0316e1ed54b69cc5f5ded737a48969677a /theme-compiler/tests/resources
parent6c4da294423a22f81840d9c0d807aca4ca9b8676 (diff)
downloadvaadin-framework-e37464cecc8ad9836684a4cf15f3c48b3c8565e0.tar.gz
vaadin-framework-e37464cecc8ad9836684a4cf15f3c48b3c8565e0.zip
#11638: Ending an imported SCSS file with a comment causes an error in
the Sass Change-Id: Ib498f68caa7e87e2d9a21b29c9bfb2f30f35c701
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r--theme-compiler/tests/resources/automatic/css/import-file-which-contains-comment-in-last-line.css3
-rw-r--r--theme-compiler/tests/resources/automatic/scss/import-file-which-contains-comment-in-last-line.scss4
-rw-r--r--theme-compiler/tests/resources/automatic/scss/to-be-imported/imported-file-contains-comments-in-last-line.scss2
3 files changed, 9 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/import-file-which-contains-comment-in-last-line.css b/theme-compiler/tests/resources/automatic/css/import-file-which-contains-comment-in-last-line.css
new file mode 100644
index 0000000000..fb64b11117
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/import-file-which-contains-comment-in-last-line.css
@@ -0,0 +1,3 @@
+.foo{
+ foo: bar;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/import-file-which-contains-comment-in-last-line.scss b/theme-compiler/tests/resources/automatic/scss/import-file-which-contains-comment-in-last-line.scss
new file mode 100644
index 0000000000..41adc908ed
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/import-file-which-contains-comment-in-last-line.scss
@@ -0,0 +1,4 @@
+@import "to-be-imported/imported-file-contains-comments-in-last-line.scss";
+.foo{
+ foo: $foo;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/to-be-imported/imported-file-contains-comments-in-last-line.scss b/theme-compiler/tests/resources/automatic/scss/to-be-imported/imported-file-contains-comments-in-last-line.scss
new file mode 100644
index 0000000000..16244f2bfd
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/to-be-imported/imported-file-contains-comments-in-last-line.scss
@@ -0,0 +1,2 @@
+$foo: bar;
+// This will cause an error \ No newline at end of file