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

[rubygems/rubygems] Don't sort materialized specs when not necessary

This should fix a weird flaky spec failure, given that the code
producing the error will be no longer run.

https://github.com/rubygems/rubygems/commit/a171965409
This commit is contained in:
David Rodríguez 2021-07-30 11:48:46 +02:00 committed by Hiroshi SHIBATA
parent 0ab160e2e0
commit 23c27d2c7b
Notes: git 2021-08-31 19:07:24 +09:00

View file

@ -92,7 +92,7 @@ module Bundler
end
def missing_specs
select {|s| s.is_a?(LazySpecification) }
@specs.select {|s| s.is_a?(LazySpecification) }
end
def merge(set)