From 212786287fda4de31d3169f5d77f506e1b756e76 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 29 Sep 2009 07:03:11 +0000 Subject: * test/ruby/test_class.rb (test_method_redefinition): commit miss. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_class.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_class.rb') diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb index 055ddca62..093448f2c 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 -- cgit