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 %p= s
- end; nil) - end; nil)
HAML HAML
end
end end
def test_if_without_content_and_else def test_if_without_content_and_else

View File

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

View File

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