1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove needless splat array

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-09-15 12:03:41 +00:00
parent f22345427a
commit dd3b3dd0f3

View file

@ -298,7 +298,7 @@ class TestRubyOptions < Test::Unit::TestCase
@verbose = $VERBOSE @verbose = $VERBOSE
$VERBOSE = nil $VERBOSE = nil
path, name = *File.split(t.path) path, name = File.split(t.path)
ENV['PATH'] = (path_orig && RbConfig::CONFIG['LIBPATHENV'] == 'PATH') ? ENV['PATH'] = (path_orig && RbConfig::CONFIG['LIBPATHENV'] == 'PATH') ?
[path, path_orig].join(File::PATH_SEPARATOR) : path [path, path_orig].join(File::PATH_SEPARATOR) : path