We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Bundler::SpecSet#<<
1 parent 14e7190 commit b556167Copy full SHA for b556167
bundler/spec/resolver/basic_spec.rb
@@ -238,7 +238,7 @@
238
it "resolves foo only to latest patch - changing dependency declared case" do
239
# bar is locked AND a declared dependency in the Gemfile, so it will not move, and therefore
240
# foo can only move up to 1.4.4.
241
- @base << Bundler::LazySpecification.new("bar", Gem::Version.new("2.0.3"), nil)
+ @base = Bundler::SpecSet.new([Bundler::LazySpecification.new("bar", Gem::Version.new("2.0.3"), nil)])
242
should_conservative_resolve_and_include :patch, ["foo"], %w[foo-1.4.4 bar-2.0.3]
243
end
244
0 commit comments