Skip to content

Commit

Permalink
Bump latest go-modules-lib to v3. v2 was invalid.
Browse files Browse the repository at this point in the history
Prior error:
go list -m: loading module retractions for github.com/dependabot-fixtures/go-modules-lib/[email protected]: version "v2.0.0" invalid: go.mod has non-.../v2 module path "github.com/dependabot-fixtures/go-modules-lib" (and .../v2/go.mod does not exist) at revision v2.0.0
  • Loading branch information
mctofu committed Nov 19, 2021
1 parent 57b192f commit 464bf15
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ module foobar
end

context "when already on the latest version" do
let(:dependency_name) { "github.com/dependabot-fixtures/go-modules-lib/v2" }
let(:dependency_version) { "2.0.0" }
let(:dependency_name) { "github.com/dependabot-fixtures/go-modules-lib/v3" }
let(:dependency_version) { "3.0.0" }

it "returns the current version" do
expect(finder.latest_version).to eq(Dependabot::GoModules::Version.new("2.0.0"))
expect(finder.latest_version).to eq(Dependabot::GoModules::Version.new("3.0.0"))
end
end

Expand Down

0 comments on commit 464bf15

Please sign in to comment.