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

Remove "use of nil in void context" warnings.

This commit is contained in:
Norman Clarke 2012-06-04 22:33:31 -03:00
parent e01491197c
commit 27a670ea27
3 changed files with 3 additions and 2 deletions

View file

@ -740,6 +740,7 @@ HTML
%p= s
- end; nil)
HAML
end
end
def test_if_without_content_and_else

View file

@ -166,7 +166,7 @@ HAML
HTML
- (foo = capture_haml(13) do |a|
%p= a
- end; nil)
- end)
= foo.inspect
HAML
end

View file

@ -197,7 +197,7 @@ HTML
bar
= "foo".gsub(/./) do |s|
- "flup"
- end; nil)
- end)
baz
HAML
end