Skip to content

Commit b556167

Browse files
Remove usage of Bundler::SpecSet#<<
1 parent 14e7190 commit b556167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/spec/resolver/basic_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
it "resolves foo only to latest patch - changing dependency declared case" do
239239
# bar is locked AND a declared dependency in the Gemfile, so it will not move, and therefore
240240
# foo can only move up to 1.4.4.
241-
@base << Bundler::LazySpecification.new("bar", Gem::Version.new("2.0.3"), nil)
241+
@base = Bundler::SpecSet.new([Bundler::LazySpecification.new("bar", Gem::Version.new("2.0.3"), nil)])
242242
should_conservative_resolve_and_include :patch, ["foo"], %w[foo-1.4.4 bar-2.0.3]
243243
end
244244

0 commit comments

Comments
 (0)