From aed9218981a7f135801784dcf1187a1a30027e11 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 29 Sep 2009 07:03:11 +0000 Subject: [PATCH] * 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 --- test/ruby/test_class.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb index 055ddca629..093448f2c0 100644 --- a/test/ruby/test_class.rb +++ b/test/ruby/test_class.rb @@ -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