mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] [SCSS] Added a failing test case for a case where selector interpolation fails.
This commit is contained in:
parent
cf145219aa
commit
80c85874e6
1 changed files with 11 additions and 0 deletions
|
@ -671,6 +671,17 @@ $zzz: zzz;
|
|||
SCSS
|
||||
end
|
||||
|
||||
def test_selector_interpolation_at_dashes
|
||||
assert_equal <<CSS, render(<<SCSS)
|
||||
div {
|
||||
-foo-a-b-foo: foo; }
|
||||
CSS
|
||||
$a : a;
|
||||
$b : b;
|
||||
div { -foo-\#{$a}-\#{$b}-foo: foo }
|
||||
SCSS
|
||||
end
|
||||
|
||||
def test_basic_prop_val_interpolation
|
||||
assert_equal <<CSS, render(<<SCSS)
|
||||
foo {
|
||||
|
|
Loading…
Add table
Reference in a new issue