Skip to content

Commit 3d73a22

Browse files
committed
Merge pull request #681 from mgreter/test/import-errors-extended
More error specs for import directives placement
2 parents 90a3f94 + b9ad6c0 commit 3d73a22

File tree

178 files changed

+323
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+323
-36
lines changed

spec/libsass-todo-tests/errors/import/control-if/input.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Error: Import directives may not be used within control directives or mixins.
2+
on line 3 of /sass/sass-spec/spec/errors/import/file/control-else/input.scss
3+
Use --trace for backtrace.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@if (false) {
22
} @else {
3-
@import '_option1';
3+
@import '_include';
44
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Error: Import directives may not be used within control directives or mixins.
2+
on line 2 of /sass/sass-spec/spec/errors/import/file/control-if/input.scss
3+
Use --trace for backtrace.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@if (true) {
2+
@import '_include';
3+
}

0 commit comments

Comments
 (0)