diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-29 07:03:11 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-29 07:03:11 +0000 |
| commit | 212786287fda4de31d3169f5d77f506e1b756e76 (patch) | |
| tree | e2829c76ac730fe205f575df2cea4dcd68e23eee /test/ruby | |
| parent | b29ad5f5d09113ffd34f4627647f2dd199cba37f (diff) | |
| download | ruby-212786287fda4de31d3169f5d77f506e1b756e76.tar.gz ruby-212786287fda4de31d3169f5d77f506e1b756e76.tar.xz ruby-212786287fda4de31d3169f5d77f506e1b756e76.zip | |
* 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
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_class.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
