summaryrefslogtreecommitdiff
path: root/test/testunit
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 04:22:34 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-11 04:22:34 +0000
commit5543a55b5261bf1c72b9bc356c2f84b14e4e6231 (patch)
treec7a972e1ee2ac36e44a5c419a43146d2729bf2da /test/testunit
parentaf59443ab6d5c06648e47d5ff58eedd28239339a (diff)
* test: get rid of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit')
-rw-r--r--test/testunit/test_redefinition.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testunit/test_redefinition.rb b/test/testunit/test_redefinition.rb
index 4540461..ed11621 100644
--- a/test/testunit/test_redefinition.rb
+++ b/test/testunit/test_redefinition.rb
@@ -2,8 +2,8 @@ require 'test/unit'
class TestRedefinition < Test::Unit::TestCase
def test_redefinition
- assert_match /^test\/unit warning: method TestForTestRedefinition#test_redefinition is redefined$/,
- redefinition
+ assert_match(/^test\/unit warning: method TestForTestRedefinition#test_redefinition is redefined$/,
+ redefinition)
end
def redefinition(*args)