From f44940ca4af2091e2f9bff25637b75d4cb86ff30 Mon Sep 17 00:00:00 2001 From: Geno Date: Thu, 30 Mar 2017 14:46:29 +0200 Subject: [PATCH] Update log_test.go --- lib/log_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log_test.go b/lib/log_test.go index 4ebc70e..3cb2baf 100644 --- a/lib/log_test.go +++ b/lib/log_test.go @@ -13,7 +13,7 @@ func TestLog(t *testing.T) { // No values check, just if it crashed or not LogTimestamp(false) - req, _ := http.NewRequest("GET", "https://google.com/lola/duda?q=wasd") + req, _ := http.NewRequest("GET", "https://google.com/lola/duda?q=wasd", nil) log := LogHTTP(req) _, ok := log.Data["remote"]