Skip to content

Commit

Permalink
Use different 404 test url
Browse files Browse the repository at this point in the history
  • Loading branch information
xoltia authored and corny committed Apr 22, 2024
1 parent 8c60517 commit 1dcbfa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func TestClient_httpGetBodyBytes(t *testing.T) {
{"unknown://", "unsupported protocol scheme"},
{"invalid\nurl", "invalid control character in URL"},
{"http://unknown-host/", "dial tcp"},
{"http://example.com/does-not-exist", "unexpected status code: 404"},
{"https://www.google.com/404", "unexpected status code: 404"},
{"http://example.com/", ""},
}
for _, tt := range tests {
Expand Down

0 comments on commit 1dcbfa4

Please sign in to comment.