summaryrefslogtreecommitdiff
path: root/test/ruby/test_module.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r--test/ruby/test_module.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index 7723bc16be..6fbf3af2e3 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -1397,7 +1397,7 @@ class TestModule < Test::Unit::TestCase
c.singleton_class.class_eval do
define_method(:method_removed) {|id| removed = id}
end
- assert_nothing_raised(NoMethodError, NameError) do
+ assert_nothing_raised(NoMethodError, NameError, '[Bug #7843]') do
c.class_eval do
remove_method(:foo)
end