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