summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r--theme-compiler/tests/resources/automatic/css/if_in_mixin.css3
-rw-r--r--theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss9
2 files changed, 12 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/if_in_mixin.css b/theme-compiler/tests/resources/automatic/css/if_in_mixin.css
new file mode 100644
index 0000000000..c92bb7c47f
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/if_in_mixin.css
@@ -0,0 +1,3 @@
+.inif {
+ bar: baz;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss b/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss
new file mode 100644
index 0000000000..397145d893
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss
@@ -0,0 +1,9 @@
+@mixin foo {
+ @if (1 == 1) {
+ .inif {
+ bar: baz;
+ }
+ }
+}
+
+@include foo;