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:
parent
6e44bf3a34
commit
ea0ec1d97c
1 changed files with 20 additions and 0 deletions
|
@ -20,5 +20,25 @@ describe Hamlit::Engine do
|
|||
'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
|
||||
|
|
Loading…
Add table
Reference in a new issue