describe Hamlit::Parser do describe 'comment' do it 'renders html comment' do assert_render(<<-HAML, <<-HTML) / comments HAML HTML end it 'strips html comment ignoring around spcaes' do assert_render('/ comments ', <<-HTML) HTML end it 'ignores multiline comment' do assert_render(<<-'HAML', <<-HTML) -# if true - raise 'ng' = invalid script too deep indent ok HAML ok HTML end end end