diff options
Diffstat (limited to 'gemini/response_test.go')
-rw-r--r-- | gemini/response_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gemini/response_test.go b/gemini/response_test.go index 784e00a..9ab9da6 100644 --- a/gemini/response_test.go +++ b/gemini/response_test.go @@ -172,19 +172,19 @@ func TestParseResponses(t *testing.T) { }, { input: "10 forgot the line ending", - err: gemini.InvalidResponseLineEnding, + err: gemini.ErrInvalidResponseLineEnding, }, { input: "10 wrong line ending\n", - err: gemini.InvalidResponseLineEnding, + err: gemini.ErrInvalidResponseLineEnding, }, { input: "10no space\r\n", - err: gemini.InvalidResponseHeaderLine, + err: gemini.ErrInvalidResponseHeaderLine, }, { input: "no status code\r\n", - err: gemini.InvalidResponseHeaderLine, + err: gemini.ErrInvalidResponseHeaderLine, }, { input: "31 gemini://domain.com/my/new/home\r\n", |