diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2023-01-25 19:30:37 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-01-26 21:41:48 +0000 |
commit | 70829928cb67829d572e124de441013105e63aa9 (patch) | |
tree | 1af725ae8802e8ece994c22d0f4c4e1fae7ea583 /test | |
parent | 88f2b94065be3fcd6769a3f132cfee8ecfb663b8 (diff) | |
download | ruby-70829928cb67829d572e124de441013105e63aa9.tar.gz |
[rubygems/rubygems] Deprecate Gem::List
It is unused, we will remove it in the next major version
https://github.com/rubygems/rubygems/commit/c3f6c27d6d
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_util.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/rubygems/test_gem_util.rb b/test/rubygems/test_gem_util.rb index 04cb000f8d..f40aadaad6 100644 --- a/test/rubygems/test_gem_util.rb +++ b/test/rubygems/test_gem_util.rb @@ -55,14 +55,6 @@ class TestGemUtil < Gem::TestCase FileUtils.chmod(0775, "d/e") unless win_platform? || java_platform? end - def test_linked_list_find - list = [1,2,3,4,5].inject(Gem::List.new(0)) do |m,o| - Gem::List.new o, m - end - assert_equal 5, list.find {|x| x == 5 } - assert_equal 4, list.find {|x| x == 4 } - end - def test_glob_files_in_dir FileUtils.mkdir_p "g" FileUtils.touch File.join("g", "h.rb") |