diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-12-04 12:54:50 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-09-29 03:41:50 +0900 |
commit | b9c426eaea71628f6d9f57985f16997a2540fa94 (patch) | |
tree | 2cb2447f4f54573f2de3265e72e3af3d3f5263f4 /test/rubygems | |
parent | 1e5597532ac72ae324550c7cf58f94017f0c8072 (diff) | |
download | ruby-b9c426eaea71628f6d9f57985f16997a2540fa94.tar.gz |
[rubygems/rubygems] Remove unnecessary constant
https://github.com/rubygems/rubygems/commit/4bd77488ad
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb index 5e14ab86a9..117b2eb34b 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -1678,10 +1678,9 @@ class TestGem < Gem::TestCase end BUNDLER_LIB_PATH = File.expand_path $LOAD_PATH.find {|lp| File.file?(File.join(lp, "bundler.rb")) } - BUNDLER_FULL_NAME = "bundler-#{Bundler::VERSION}".freeze def add_bundler_full_name(names) - names << BUNDLER_FULL_NAME + names << "bundler-#{Bundler::VERSION}".freeze names.sort! names end |