Skip to content

CI: add test workflow #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Oct 13, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix go 1.14+ compatibility issue
  • Loading branch information
Maurizio Branca committed Sep 17, 2020
commit 3725d20ce2a955053b43c32f980962675144c056
4 changes: 2 additions & 2 deletions v2/pkgs/indexes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func TestIndexes(t *testing.T) {

// Add a faulty index
_, err = service.Add(ctx, &indexes.IndexPayload{URL: ":"})
if err == nil || !strings.Contains(err.Error(), "parse :: missing protocol scheme") {
t.Fatalf("expected '%v' == '%v' (%s)", err, "parse :: missing protocol scheme", "err")
if err == nil || !strings.Contains(err.Error(), "parse \":\": missing protocol scheme") {
t.Fatalf("expected [%v] == [%v] (%s)", err, "parse \":\": missing protocol scheme", "err")
}

// Add a new index
Expand Down