-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more spec tests for libsass issue 1169
- Loading branch information
Showing
32 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
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: Duplicate key #ff0000 in map (red: "foo", red: "bar"). | ||
on line 1 of /sass/sass-spec/spec/libsass-issues/issue_1169/error/color/input.scss | ||
Use --trace for backtrace. |
Empty file.
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,8 @@ | ||
$map: ( | ||
red: 'foo', | ||
red: 'bar', | ||
); | ||
|
||
.foo { | ||
content: inspect($map); | ||
} |
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/libsass-closed-issues/issue_1169/error/functioncall/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: Duplicate key "key" in map (fncall(1 + 2): "foo", fncall(1 + 2): "bar"). | ||
on line 5 of /sass/sass-spec/spec/libsass-issues/issue_1169/error/functioncall/input.scss | ||
Use --trace for backtrace. |
Empty file.
12 changes: 12 additions & 0 deletions
12
spec/libsass-closed-issues/issue_1169/error/functioncall/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,12 @@ | ||
@function fncall($void) { | ||
@return "key"; | ||
} | ||
|
||
$map: ( | ||
fncall(1+2): 'foo', | ||
fncall(1+2): 'bar', | ||
); | ||
|
||
.foo { | ||
content: inspect($map); | ||
} |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/error/functioncall/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/libsass-closed-issues/issue_1169/error/interpolate/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: Duplicate key "red" in map ("red": "bar", #{re}#{"d"}: "baz"). | ||
on line 1 of /sass/sass-spec/spec/libsass-issues/issue_1169/error/interpolate/input.scss | ||
Use --trace for backtrace. |
Empty file.
8 changes: 8 additions & 0 deletions
8
spec/libsass-closed-issues/issue_1169/error/interpolate/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,8 @@ | ||
$map: ( | ||
'red': 'bar', | ||
#{re}#{'d'}: 'baz', | ||
); | ||
|
||
.foo { | ||
content: inspect($map); | ||
} |
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 |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/error/simple/expected.compact.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 @@ | ||
.foo { content: (red: "bar", red: "baz"); } |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/error/simple/expected.compressed.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 @@ | ||
.foo{content:(red: "bar", red: "baz")} |
3 changes: 3 additions & 0 deletions
3
spec/libsass-closed-issues/issue_1169/error/simple/expected.expanded.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,3 @@ | ||
.foo { | ||
content: (red: "bar", red: "baz"); | ||
} |
2 changes: 2 additions & 0 deletions
2
spec/libsass-closed-issues/issue_1169/error/simple/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 @@ | ||
.foo { | ||
content: (red: "bar", red: "baz"); } |
8 changes: 8 additions & 0 deletions
8
spec/libsass-closed-issues/issue_1169/error/simple/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,8 @@ | ||
$map: ( | ||
red: 'bar', | ||
#{red}: 'baz', | ||
); | ||
|
||
.foo { | ||
content: inspect($map); | ||
} |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/functioncall/expected.compact.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 @@ | ||
.foo { content: (1: "bar", 2: "foo"); } |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/functioncall/expected.compressed.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 @@ | ||
.foo{content:(1: "bar", 2: "foo")} |
3 changes: 3 additions & 0 deletions
3
spec/libsass-closed-issues/issue_1169/functioncall/expected.expanded.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,3 @@ | ||
.foo { | ||
content: (1: "bar", 2: "foo"); | ||
} |
2 changes: 2 additions & 0 deletions
2
spec/libsass-closed-issues/issue_1169/functioncall/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 @@ | ||
.foo { | ||
content: (1: "bar", 2: "foo"); } |
15 changes: 15 additions & 0 deletions
15
spec/libsass-closed-issues/issue_1169/functioncall/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,15 @@ | ||
$count: 0; | ||
|
||
@function counter() { | ||
$count: $count + 1 !global; | ||
@return $count; | ||
} | ||
|
||
$map: ( | ||
counter(): 'bar', | ||
counter(): 'foo', | ||
); | ||
|
||
.foo { | ||
content: inspect($map); | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/simple/expected.compact.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 @@ | ||
.foo { content: (red: "bar", "red": "foo"); content: (red: "bar", "red": red); } |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1169/simple/expected.compressed.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 @@ | ||
.foo{content:(red: "bar", "red": "foo");content:(red: "bar", "red": red)} |
4 changes: 4 additions & 0 deletions
4
spec/libsass-closed-issues/issue_1169/simple/expected.expanded.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,4 @@ | ||
.foo { | ||
content: (red: "bar", "red": "foo"); | ||
content: (red: "bar", "red": red); | ||
} |
3 changes: 3 additions & 0 deletions
3
spec/libsass-closed-issues/issue_1169/simple/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,3 @@ | ||
.foo { | ||
content: (red: "bar", "red": "foo"); | ||
content: (red: "bar", "red": red); } |
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,14 @@ | ||
$map1: ( | ||
red: 'bar', | ||
'red': 'foo', | ||
); | ||
|
||
$map2: ( | ||
red: 'bar', | ||
'red': #{red}, | ||
); | ||
|
||
.foo { | ||
content: inspect($map1); | ||
content: inspect($map2); | ||
} |