diff --git a/test/haml_test.rb b/test/haml_test.rb index e1c1a084..06ec10f4 100644 --- a/test/haml_test.rb +++ b/test/haml_test.rb @@ -89,6 +89,11 @@ class HAMLTest < Test::Unit::TestCase assert ok? assert_match(/^ { :foo => 'bar' }} + assert_equal "bar\n", body + end end rescue warn "#{$!.to_s}: skipping haml tests"