From f047817458313e0479a15609c27ebc71ee817b75 Mon Sep 17 00:00:00 2001 From: Tomek Madejski Date: Tue, 10 Oct 2023 10:52:07 -0700 Subject: [PATCH] Fixed formatting of all .go files with 'gofmt' --- rest/main/main_test.go | 1 - rest/server/pamAuth_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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) {