Sha256: d387283acbb2a5154f78522e6562225bcc37c4e54727b3cf0fb36c69860257fd
Contents?: true
Size: 720 Bytes
Versions: 38
Compression:
Stored size: 720 Bytes
Contents
describe Hamlit::Engine do describe 'multiline' do it 'joins multi-lines ending with pipe' do assert_render(<<-HAML, <<-HTML) a | b | HAML a b HTML end it 'renders multi lines' do assert_render(<<-HAML, <<-HTML) = 'a' + | 'b' + | 'c' | 'd' HAML abc 'd' HTML end it 'accepts invalid indent' do assert_render(<<-HAML, <<-HTML) %span %div = '1' + | '2' | %div 3 HAML <span> <div> 12 </div> <div> 3 </div> </span> HTML end end end
Version data entries
38 entries across 38 versions & 1 rubygems