1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_class.rb (test_method_redefinition): commit miss.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-09-29 07:03:11 +00:00
parent 811c2d5100
commit aed9218981

View file

@ -140,7 +140,7 @@ class TestClass < Test::Unit::TestCase
def foo; end
end
end
assert_match(/method redefined; discarding old foo/, stderr)
assert_match(/:#{line}: warning: method redefined; discarding old foo/, stderr)
stderr = EnvUtil.verbose_warning do
Class.new do