]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscash: main_test: wrap overlong line
authorSimon Ruderich <simon@ruderich.org>
Thu, 1 Aug 2019 20:16:13 +0000 (22:16 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 1 Aug 2019 20:16:13 +0000 (22:16 +0200)
main_test.go

index a8b81b41e2430ce3d983eacde7a3d3162c2f7564..47865651f8e5e8e0dc17f867091e52800dcc6daa 100644 (file)
@@ -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{