Sha256: d27ba0d93a2068558088d11a79396ebb56b25a2819eaea4f00a2b051c9ab5c3a
Contents?: true
Size: 760 Bytes
Versions: 9
Compression:
Stored size: 760 Bytes
Contents
describe Hamlit::Engine do describe 'tab indent' do it 'accepts tab indentation' do assert_render(<<-HAML, <<-HTML, compatible_only: :haml, error_with: :faml) %p \t%a HAML <p> <a></a> </p> HTML end it 'accepts N-space indentation' do assert_render(<<-HAML, <<-HTML) %p %span foo HAML <p> <span> foo </span> </p> HTML end it 'accepts N-tab indentation' do assert_render(<<-HAML, <<-HTML, compatible_only: :haml, error_with: :faml) %p \t%span \t\tfoo HAML <p> <span> foo </span> </p> HTML end end end
Version data entries
9 entries across 9 versions & 1 rubygems