Commit 6c8d2ca3 authored by skandhas's avatar skandhas

add assert 'BS Block 35'

parent 385f129a
...@@ -416,3 +416,17 @@ assert("BS Block 34") do ...@@ -416,3 +416,17 @@ assert("BS Block 34") do
end end
TestReturnFromNestedBlock_BSBlock34.test == :ok TestReturnFromNestedBlock_BSBlock34.test == :ok
end end
assert("BS Block 35") do
module TestReturnFromNestedBlock_BSBlock35
def self.test
1.times do
until false
return :ok
end
end
:bad
end
end
TestReturnFromNestedBlock_BSBlock35.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