diff options
Diffstat (limited to 'sample/test.rb')
-rw-r--r-- | sample/test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb index a5026d49c8..a32dbcbec2 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -846,8 +846,9 @@ def tt } end +i=0 tt{|i| break if i == 5} -test_ok(i == 5) +test_ok(i == 0) def tt2(dummy) yield 1 |