Skip to content

Commit

Permalink
test: update expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Aug 28, 2023
1 parent af6540c commit bc26f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vale/pkg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func TestNoPkgFound(t *testing.T) {
t.Fatal("expected error, got nil")
}

msg := "could not fetch 'https:/errata-ai/Microsoft/releases/download/v0.14.1/Microsoft.zip' (status code '404')."
msg := "could not fetch 'https:/errata-ai/Microsoft/releases/download/v0.14.1/Microsoft.zip' (status code '404')"
if !strings.Contains(err.Error(), msg) {
t.Fatalf("expected '%s', got '%s'", msg, err.Error())
}
Expand Down

0 comments on commit bc26f40

Please sign in to comment.