Skip to content

Commit

Permalink
Remove expectation of error message and add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
feelepxyz committed Dec 10, 2020
1 parent 61b4ec5 commit aa67f7d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,10 @@
# OpenAPIV2 has been renamed to openapiv2 in this version
let(:dependency_version) { "v0.5.1" }

# NOTE: We explitly don't want to raise a resolvability error from go mod tidy
it "does not raises a DependencyFileNotResolvable error" do
error_class = Dependabot::DependencyFileNotResolvable
expect { updater.updated_go_sum_content }.
to_not raise_error(error_class) do |error|
expect(error.message).to include("googleapis/gnostic/OpenAPIv2")
end
to_not raise_error(Dependabot::DependencyFileNotResolvable)
end

it "updates the go.mod" do
Expand Down

0 comments on commit aa67f7d

Please sign in to comment.