]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - main_test.go
nsscash: main_test: wrap overlong line
[nsscash/nsscash.git] / main_test.go
index 7ccaca93dbff536cccc2968a8494aa3350486bcb..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{
@@ -728,7 +729,7 @@ path = "%[4]s"
                "status code 404")
 
        mustNotExist(t, statePath, plainPath)
-       // Even tough passwd was successfully fetched, no files were modified
+       // Even though passwd was successfully fetched, no files were modified
        // because the second fetch failed
        mustBeOld(t, passwdPath, groupPath)
 }