summaryrefslogtreecommitdiff
path: root/test/-ext-/iter/test_iter_break.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/iter/test_iter_break.rb')
-rw-r--r--test/-ext-/iter/test_iter_break.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/-ext-/iter/test_iter_break.rb b/test/-ext-/iter/test_iter_break.rb
index 03797a8..1ef2aad 100644
--- a/test/-ext-/iter/test_iter_break.rb
+++ b/test/-ext-/iter/test_iter_break.rb
@@ -3,7 +3,10 @@ require '-test-/iter/break'
class TestIterBreak < Test::Unit::TestCase
def test_iter_break
+ backport7896 = '[ruby-core:52607]'
+ assert_equal(nil, 1.times{Bug::Breakable.iter_break}, backport7896)
+
feature5895 = '[ruby-dev:45132]'
- assert_equal(42, 1.times{Bug::Breakable.iter_break(42)}, feature5895)
+ assert_equal(42, 1.times{Bug::Breakable.iter_break_value(42)}, feature5895)
end
end