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.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/-ext-/iter/test_iter_break.rb b/test/-ext-/iter/test_iter_break.rb
index 1ef2aad3c2c..5bac6331fdb 100644
--- a/test/-ext-/iter/test_iter_break.rb
+++ b/test/-ext-/iter/test_iter_break.rb
@@ -1,12 +1,15 @@
require 'test/unit'
-require '-test-/iter/break'
+require '-test-/iter'
-class TestIterBreak < Test::Unit::TestCase
+module TestIter
+end
+
+class TestIter::IterBreak < Test::Unit::TestCase
def test_iter_break
backport7896 = '[ruby-core:52607]'
- assert_equal(nil, 1.times{Bug::Breakable.iter_break}, backport7896)
+ assert_equal(nil, 1.times{Bug::Iter::Breakable.iter_break}, backport7896)
feature5895 = '[ruby-dev:45132]'
- assert_equal(42, 1.times{Bug::Breakable.iter_break_value(42)}, feature5895)
+ assert_equal(42, 1.times{Bug::Iter::Breakable.iter_break_value(42)}, feature5895)
end
end