summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-21 22:18:02 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-21 22:18:02 -0400
commit360f7e248a065a766890db9b4f65757dc6365eb2 (patch)
tree33cb203283f44b35face0da6be9713b84a32ba39
parent9064606b97f1eb7a5dcdd37703411a4425e5cd0a (diff)
downloadgetwtxt-360f7e248a065a766890db9b4f65757dc6365eb2.tar.gz
arg change for log400()
-rw-r--r--http_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_test.go b/http_test.go
index 67ccc88..57635e5 100644
--- a/http_test.go
+++ b/http_test.go
@@ -12,7 +12,7 @@ func Test_log400(t *testing.T) {
 	t.Run("log400", func(t *testing.T) {
 		w := httptest.NewRecorder()
 		req := httptest.NewRequest("POST", "/400", nil)
-		log400(w, req, errors.New("400 Test"))
+		log400(req, errors.New("400 Test"))
 		resp := w.Result()
 		if resp.StatusCode != http.StatusBadRequest {
 			t.Errorf("Didn't receive 400, received: %v\n", resp.StatusCode)