diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-06 00:15:29 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-06 00:15:29 +0000 |
commit | ed86848563a9d739f090b6c56c7f7eb76c804331 (patch) | |
tree | 6c868b6256ee2987fc33324128a4b1a944ca1dc9 /test/ruby/test_module.rb | |
parent | 7c3fff4f547dc8f74ffa9a0532597afeceb7bcc4 (diff) | |
download | ruby-ed86848563a9d739f090b6c56c7f7eb76c804331.tar.gz |
* test/ruby/test_module.rb (TestModule#test_undef): adjust to
message change.
* test/ruby/test_object.rb (TestObject#test_redefine_method_which_may_case_serious_problem): ditto.
* test/ruby/test_object.rb (TestObject#test_remove_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 37336a08a6..03fd2d9b90 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -517,7 +517,7 @@ class TestModule < Test::Unit::TestCase end %w(object_id __send__ initialize).each do |m| - assert_in_out_err([], <<-INPUT, [], /warning: undefining `#{m}' may cause serious problem$/) + assert_in_out_err([], <<-INPUT, [], /warning: undefining `#{m}' may cause serious problems$/) $VERBOSE = false Class.new.instance_eval { undef_method(:#{m}) } INPUT |