Skip to content

Commit

Permalink
Add test case for css
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jul 26, 2023
1 parent 8ac89b9 commit 5500e87
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/embedded/minify/tag_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,15 @@ def test_render_with_css_and_multiple_comment
comment
*/
h1 {
color: blue;
/*
multiline
comment
*/
color: blue;/* multiline
comment */ font-size: 12px;
}
SLIM
assert_html <<~HTML.chomp, source
<style>
h1 {
color: blue;
font-size: 12px;
}</style>
HTML
end
Expand Down

0 comments on commit 5500e87

Please sign in to comment.