diff --git a/test/haml/engine_test.rb b/test/haml/engine_test.rb index 98db9550..a81e64af 100644 --- a/test/haml/engine_test.rb +++ b/test/haml/engine_test.rb @@ -209,6 +209,7 @@ HAML end def test_nil_should_render_empty_tag + skip '[INCOMPATIBILITY] Hamlit does not delete falsy boolean attributes for optimization' assert_equal("
", render(".no_attributes{:nil => nil}").chomp) end @@ -322,6 +323,7 @@ HAML end def test_dynamic_attributes_with_empty_attr + skip '[INCOMPATIBILITY] Hamlit does not delete falsy boolean attributes for optimization' assert_equal("\n", render("%img{:width => nil, :src => '/foo.png', :alt => String.new}")) end @@ -412,6 +414,7 @@ HAML end def test_boolean_attributes + skip '[INCOMPATIBILITY] Hamlit does not delete falsy boolean attributes for optimization' assert_equal("\n", render("%p{:foo => 'bar', :bar => true, :baz => 'true'}", :format => :html4)) assert_equal("\n", @@ -1181,6 +1184,7 @@ HAML end def test_nil_attrs + skip '[INCOMPATIBILITY] Hamlit does not delete falsy boolean attributes for optimization' assert_equal("nil
\n", render("%p{ :attr => nil } nil")) assert_equal("nil
\n", render("%p{ :attr => x } nil", :locals => {:x => nil})) end