diff --git a/rest/main/main_test.go b/rest/main/main_test.go index 50ee1010da..f42847814d 100644 --- a/rest/main/main_test.go +++ b/rest/main/main_test.go @@ -35,4 +35,3 @@ func TestMain(t *testing.T) { <-sigs fmt.Println("Returning from TestMain on sig kill") } - diff --git a/rest/server/pamAuth_test.go b/rest/server/pamAuth_test.go index b14098206b..5dd8e37667 100644 --- a/rest/server/pamAuth_test.go +++ b/rest/server/pamAuth_test.go @@ -107,7 +107,7 @@ func TestMain(m *testing.M) { // Dummy test handler which returns 200 on success; 401 on // authentication failure and 403 on authorization failure func authTestHandler(w http.ResponseWriter, r *http.Request) { - w.WriteHeader(200) + w.WriteHeader(200) } func TestAuth_LocalUser(t *testing.T) {