Skip to content

Commit 0ddd6da

Browse files
committed
Merge pull request #683 from mgreter/activate/nested-internal-fn-error
Add error specs for nested warn, debug and error function
2 parents b9081be + 93efa30 commit 0ddd6da

Some content is hidden

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

44 files changed

+73
-0
lines changed

spec/errors/fn-debug/property/error

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Error: Illegal nesting: Only properties may be nested beneath properties.
2+
on line 3 of /sass/sass-spec/spec/errors/fn-debug/property/input.scss
3+
Use --trace for backtrace.

spec/errors/fn-debug/property/expected_output.css

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a {
2+
b: {
3+
@debug "debug";
4+
foo: bar;
5+
}
6+
}

spec/errors/fn-debug/property/status

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
65

spec/errors/fn-debug/ruleset/error

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/sass/sass-spec/spec/errors/fn-debug/ruleset/input.scss:2 DEBUG: debug
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { foo: bar; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a{foo:bar}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
a {
2+
foo: bar;
3+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
a {
2+
foo: bar; }
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
a {
2+
@debug "debug";
3+
foo: bar;
4+
}

0 commit comments

Comments
 (0)