test/sass/engine_test.rb in sass-3.1.0.alpha.9 vs test/sass/engine_test.rb in sass-3.1.0.alpha.10

- old
+ new

@@ -2109,9 +2109,31 @@ foo a: b(c), d(e) SASS end + def test_interpolation_with_comma + assert_equal <<CSS, render(<<SASS) +foo { + a: foo, bar; } +CSS +$foo: foo +foo + a: \#{$foo}, bar +SASS + end + + def test_string_interpolation_with_comma + assert_equal <<CSS, render(<<SASS) +foo { + a: "bip foo bap", bar; } +CSS +$foo: foo +foo + a: "bip \#{$foo} bap", bar +SASS + end + # Encodings unless Sass::Util.ruby1_8? def test_encoding_error render("foo\nbar\nb\xFEaz".force_encoding("utf-8"))