diff options
| author | Adnan Maolood <[email protected]> | 2021-02-16 00:55:54 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-16 00:55:56 -0500 |
| commit | 779be8b95b408e1d8997aff0ac03fc105c9ccaf1 (patch) | |
| tree | 292be8be9d1ddadb2955da2f1e8290abf240a9d9 /request_test.go | |
| parent | Add build status badge to README.md (diff) | |
| download | go-gemini-779be8b95b408e1d8997aff0ac03fc105c9ccaf1.tar.xz go-gemini-779be8b95b408e1d8997aff0ac03fc105c9ccaf1.zip | |
request: Allow User in URLs
Diffstat (limited to 'request_test.go')
| -rw-r--r-- | request_test.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/request_test.go b/request_test.go index ea42c70..3497ed6 100644 --- a/request_test.go +++ b/request_test.go @@ -47,14 +47,6 @@ func TestReadRequest(t *testing.T) { Err: io.EOF, }, { - Raw: "gemini://user:[email protected]\r\n", - Err: ErrInvalidURL, - }, - { - Raw: "https://user:[email protected]\r\n", - Err: ErrInvalidURL, - }, - { // 1030 bytes Raw: maxURL + "xxxxxx", Err: io.EOF, @@ -121,14 +113,6 @@ func TestWriteRequest(t *testing.T) { Req: newRequest(maxURL + "x"), Err: ErrInvalidRequest, }, - { - Req: newRequest("gemini://user:[email protected]"), - Err: ErrInvalidURL, - }, - { - Req: newRequest("https://user:[email protected]"), - Err: ErrInvalidURL, - }, } for _, test := range tests { |