test/sass/scss/scss_test.rb in haml-edge-2.3.190 vs test/sass/scss/scss_test.rb in haml-edge-2.3.191
- old
+ new
@@ -669,9 +669,20 @@
$zzz: zzz;
[\#{$zzz}=foo] { a: b; }
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 {
bar: foo 3 baz; }
CSS