1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Add one-more multiline spec

This commit is contained in:
Takashi Kokubun 2015-03-16 08:20:01 +09:00
parent 6e44bf3a34
commit ea0ec1d97c

View file

@ -20,5 +20,25 @@ describe Hamlit::Engine do
'd' 'd'
HTML HTML
end 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
end end