describe Hamlit::Parser do describe 'preservation' do it 'renders whitespace preservation operator' do assert_render(<<-'HAML', <<-HTML) ~ "hello\nworld" HAML hello world HTML end end end