Skip to content

Commit

Permalink
Exempt default gem 'etc' in setup tests for rubies before 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde committed Oct 7, 2023
1 parent 2e50901 commit 3f3abd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundler/spec/runtime/setup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,7 @@ def lock_with(ruby_version = nil)
exempts = %w[did_you_mean bundler]
exempts << "uri" if Gem.ruby_version >= Gem::Version.new("2.7")
exempts << "pathname" if Gem.ruby_version >= Gem::Version.new("3.0")
exempts << "etc" unless Gem.ruby_version >= Gem::Version.new("3.2")
exempts << "set" unless Gem.rubygems_version >= Gem::Version.new("3.2.6")
exempts << "tsort" unless Gem.rubygems_version >= Gem::Version.new("3.2.31")
exempts << "error_highlight" # added in Ruby 3.1 as a default gem
Expand Down

0 comments on commit 3f3abd4

Please sign in to comment.