diff options
author | Michael Steinert <[email protected]> | 2023-09-23 10:38:09 -0500 |
---|---|---|
committer | Michael Steinert <[email protected]> | 2023-09-23 10:38:09 -0500 |
commit | a85a609bbe4f52a2f19a24bcfbfcdb3c23decd45 (patch) | |
tree | adefe01b86ebc1c883953a01271564b4037c36e7 | |
parent | 2e7b8b76d5821a4b6b32bf11a54f3af2dacc9c99 (diff) |
Run go fmt
-rw-r--r-- | transaction_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transaction_test.go b/transaction_test.go index c7bcd2e..94aa9c1 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -223,7 +223,7 @@ func TestPAM_ConfDir_InfoMessage(t *testing.T) { if err != nil { t.Fatalf("authenticate #error: %v", err) } - if infoText != "This is an info message for user " + u.Username + " on echo-service" { + if infoText != "This is an info message for user "+u.Username+" on echo-service" { t.Fatalf("Unexpected info message: %v", infoText) } } @@ -269,7 +269,7 @@ func TestPAM_ConfDir_PromptForUserName(t *testing.T) { func TestPAM_ConfDir_WrongUserName(t *testing.T) { c := Credentials{ - User: "wronguser", + User: "wronguser", Password: "wrongsecret", } tx, err := StartConfDir("succeed-if-user-test", "", c, "test-services") |