diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:40:03 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 14:40:03 +0000 |
commit | dabdec31e4f10a83036cfb368bf3a7d4d20cf2d8 (patch) | |
tree | 3d9ecd3ea1abd0a7d2eb79aa0d3a71d2207b4b3c /test | |
parent | 4c6eb271ddecc8534d10449ec2ca40df6bea2e58 (diff) | |
download | ruby-dabdec31e4f10a83036cfb368bf3a7d4d20cf2d8.tar.gz |
Use caller with length to reduce unused strings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index afdd5de00b..761fe92df8 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -842,7 +842,7 @@ module Test begin require "rbconfig" rescue LoadError - warn "#{caller(1)[0]}: warning: Parallel running disabled because can't get path to ruby; run specify with --ruby argument" + warn "#{caller(1, 1)[0]}: warning: Parallel running disabled because can't get path to ruby; run specify with --ruby argument" options[:parallel] = nil else options[:ruby] ||= [RbConfig.ruby] |