From 2c0aa8d6355d54bea3824db280dd4e0f10e595a7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 1 Aug 2019 22:16:13 +0200 Subject: [PATCH] nsscash: main_test: wrap overlong line --- main_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main_test.go b/main_test.go index a8b81b4..4786565 100644 --- a/main_test.go +++ b/main_test.go @@ -236,9 +236,10 @@ func TestMainFetch(t *testing.T) { } var handler func(http.ResponseWriter, *http.Request) - ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - handler(w, r) - })) + ts := httptest.NewServer(http.HandlerFunc( + func(w http.ResponseWriter, r *http.Request) { + handler(w, r) + })) defer ts.Close() f(args{ -- 2.45.2