vendor/sass/test/sass/css2sass_test.rb in haml-3.1.3 vs vendor/sass/test/sass/css2sass_test.rb in haml-3.1.4
- old
+ new
@@ -266,9 +266,18 @@
padding-left: 0;
padding-right: 0; } }
CSS
end
+ def test_double_comma
+ assert_equal(<<SASS, css2sass(<<CSS))
+foo, bar
+ a: b
+SASS
+foo, , bar { a: b }
+CSS
+ end
+
# Error reporting
def test_error_reporting
css2sass("foo")
assert(false, "Expected exception")