add test for issue#547; close #554

parent 470bb14d
......@@ -388,3 +388,17 @@ assert('BS Block [ruby-core:14395]') do
t = Controller.new
t.test_for_bug
end
assert("BS Block 32") do
module TestReturnFromNestedBlock
def self.test
1.times do
1.times do
return :ok
end
end
:bad
end
end
TestReturnFromNestedBlock.test == :ok
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment