Commit 385f129a authored by skandhas's avatar skandhas

add assert 'BS Block 34'

parent a316e92d
......@@ -402,3 +402,17 @@ assert("BS Block 33") do
end
TestReturnFromNestedBlock.test == :ok
end
assert("BS Block 34") do
module TestReturnFromNestedBlock_BSBlock34
def self.test
1.times do
while true
return :ok
end
end
:bad
end
end
TestReturnFromNestedBlock_BSBlock34.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