diff options
author | siddharth <s@ricketyspace.net> | 2022-05-08 11:26:17 -0400 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2022-05-08 11:26:17 -0400 |
commit | 12d34c44c96c9289b67bdfbad131edf8f2cd74f8 (patch) | |
tree | 0dd225c103feaebab09c81086d834aed1ff38469 /http/client/client_test.go | |
parent | 0ffe26f6e81adbf1c2297a5f19d3350fec6a45b2 (diff) |
http/client -> client
Diffstat (limited to 'http/client/client_test.go')
-rw-r--r-- | http/client/client_test.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/http/client/client_test.go b/http/client/client_test.go deleted file mode 100644 index 56a79c0..0000000 --- a/http/client/client_test.go +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright © 2022 siddharth <s@ricketyspace.net> -// SPDX-License-Identifier: ISC - -package client - -import ( - "io" - "testing" -) - -func TestGet(t *testing.T) { - res, err := Get("https://plan.cat/~s") - if err != nil { - t.Errorf("get failed: %v", err) - return - } - _, err = io.ReadAll(res.Body) - if err != nil { - t.Errorf("response read failed: %v", err) - return - } -} |