1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

These tests are already passed

This commit is contained in:
Takashi Kokubun 2015-10-24 01:55:19 +09:00
parent fa2e037da4
commit 473c55f7ba

View file

@ -309,11 +309,11 @@ HAML
assert_equal("<p>Foo &amp; Bar & Baz</p>\n", render('%p& Foo #{"&"} Bar & Baz')) assert_equal("<p>Foo &amp; Bar & Baz</p>\n", render('%p& Foo #{"&"} Bar & Baz'))
end end
def test_nil_tag_value_should_render_as_empty; skip # nil script def test_nil_tag_value_should_render_as_empty
assert_equal("<p></p>\n", render("%p= nil")) assert_equal("<p></p>\n", render("%p= nil"))
end end
def test_tag_with_failed_if_should_render_as_empty; skip # nil script def test_tag_with_failed_if_should_render_as_empty
assert_equal("<p></p>\n", render("%p= 'Hello' if false")) assert_equal("<p></p>\n", render("%p= 'Hello' if false"))
end end