Sha256: 7578bb952f38ba926abb96cb6cca7711f7898c70c2984e3977934d622f008539
Contents?: true
Size: 721 Bytes
Versions: 16
Compression:
Stored size: 721 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
16 entries across 16 versions & 1 rubygems