forked from sass/sass-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for partially interpolated selectors
Libsass issues: sass/libsass#1684 sass/libsass#1734
- Loading branch information
Showing
18 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...e/44_selector/double_escape/12_double_escaped_interpolated_value_todo/expected_output.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.test12\@bar { | ||
content: '1.2'; } |
2 changes: 2 additions & 0 deletions
2
...nterpolate/44_selector/double_escape/12_double_escaped_interpolated_value_todo/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$key: 'bar'; | ||
.test12#{'\\@#{$key}'} { content: '1.2'; } |
2 changes: 2 additions & 0 deletions
2
...ate/44_selector/double_escape/22_double_escaped_interpolated_variable/expected_output.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.test22\@bar { | ||
content: '2.2'; } |
3 changes: 3 additions & 0 deletions
3
.../interpolate/44_selector/double_escape/22_double_escaped_interpolated_variable/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$key: 'bar'; | ||
$suffix2: '\\@#{$key}'; | ||
.test22#{$suffix2} { content: '2.2'; } |
2 changes: 2 additions & 0 deletions
2
...arser/interpolate/44_selector/double_escape/32_double_escaped_literal/expected_output.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.test32\@baz { | ||
content: '3.2'; } |
1 change: 1 addition & 0 deletions
1
spec/parser/interpolate/44_selector/double_escape/32_double_escaped_literal/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.test32#{'\\@baz'} { content: '3.2'; } |
3 changes: 3 additions & 0 deletions
3
spec/parser/interpolate/44_selector/todo_single_escape/11_escaped_interpolated_value/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Error: Invalid CSS after ".test11": expected selector, was "@bar" | ||
on line 2 of /home/saper/sw/sass-spec/spec/parser/interpolate/44_selector/11_escaped_interpolated_value/input.scss | ||
Use --trace for backtrace. |
Empty file.
2 changes: 2 additions & 0 deletions
2
...arser/interpolate/44_selector/todo_single_escape/11_escaped_interpolated_value/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$key: 'bar'; | ||
.test11#{'\@#{$key}'} { content: '1.1'; } |
1 change: 1 addition & 0 deletions
1
spec/parser/interpolate/44_selector/todo_single_escape/11_escaped_interpolated_value/status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
65 |
3 changes: 3 additions & 0 deletions
3
.../parser/interpolate/44_selector/todo_single_escape/21_escaped_interpolated_variable/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Error: Invalid CSS after ".test21": expected selector, was "@bar" | ||
on line 3 of /home/saper/sw/sass-spec/spec/parser/interpolate/44_selector/21_escaped_interpolated_variable/input.scss | ||
Use --trace for backtrace. |
Empty file.
3 changes: 3 additions & 0 deletions
3
...er/interpolate/44_selector/todo_single_escape/21_escaped_interpolated_variable/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$key: 'bar'; | ||
$suffix1: '\@#{$key}'; | ||
.test21#{$suffix1} { content: '2.1'; } |
1 change: 1 addition & 0 deletions
1
...parser/interpolate/44_selector/todo_single_escape/21_escaped_interpolated_variable/status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
65 |
3 changes: 3 additions & 0 deletions
3
spec/parser/interpolate/44_selector/todo_single_escape/31_escaped_literal/error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Error: Invalid CSS after ".test31": expected selector, was "@baz" | ||
on line 1 of /home/saper/sw/sass-spec/spec/parser/interpolate/44_selector/31_escaped_literal/input.scss | ||
Use --trace for backtrace. |
Empty file.
1 change: 1 addition & 0 deletions
1
spec/parser/interpolate/44_selector/todo_single_escape/31_escaped_literal/input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.test31#{'\@baz'} { content: '3.1'; } |
1 change: 1 addition & 0 deletions
1
spec/parser/interpolate/44_selector/todo_single_escape/31_escaped_literal/status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
65 |