Skip to content

Commit

Permalink
add assert 'BS Block 35'
Browse files Browse the repository at this point in the history
  • Loading branch information
skandhas committed Nov 23, 2012
1 parent 385f129 commit 6c8d2ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/t/bs_block.rb
Expand Up @@ -416,3 +416,17 @@ def self.test
end
TestReturnFromNestedBlock_BSBlock34.test == :ok
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

0 comments on commit 6c8d2ca

Please sign in to comment.