diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-12-11 20:17:51 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-13 12:41:08 +0900 |
commit | 6d00053c741cc7a369a1967e0631e32ddf3d1f82 (patch) | |
tree | ed6ed895ea16a8a936e10195579052febbc27751 /spec | |
parent | 91050d3443956a2841aa91defee0d178a18fc347 (diff) | |
download | ruby-6d00053c741cc7a369a1967e0631e32ddf3d1f82.tar.gz |
[rubygems/rubygems] Use better matcher
Hopefully it gives a better error.
https://github.com/rubygems/rubygems/commit/5bc9ff64b6
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/quality_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 86e5a51f7f..1f4391d0e4 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -197,7 +197,7 @@ RSpec.describe "The library itself" do gem_list = loaded_gemspec.files - expect(git_list.sort).to eq(gem_list.sort) + expect(git_list).to match_array(gem_list) end it "does not contain any warnings" do |