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:
parent
811c2d5100
commit
aed9218981
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue