test/csscss/parser/css_test.rb in csscss-0.1.0 vs test/csscss/parser/css_test.rb in csscss-0.2.0
- old
+ new
@@ -126,8 +126,14 @@
rs(sel("#foo"), [dec("background-color", "black")]),
rs(sel("#bar"), [dec("display", "none")]),
rs(sel("h1"), [dec("outline", "1px")])
])
end
+
+ it "ignores double semicolons" do
+ trans("h1 { display:none;;}").must_equal([
+ rs(sel("h1"), [dec("display", "none")])
+ ])
+ end
end
end
end