summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 07:03:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-29 07:03:11 +0000
commitaed9218981a7f135801784dcf1187a1a30027e11 (patch)
treee2829c76ac730fe205f575df2cea4dcd68e23eee /test
parent811c2d510066cc0b2021072b1e5c5853ce24a714 (diff)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_class.rb2
1 files changed, 1 insertions, 1 deletions
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