1
0
Fork 0
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:
Chris Eppstein 2010-04-05 01:05:13 -07:00
parent cf145219aa
commit 80c85874e6

View file

@ -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 {