From 4a897306e2859a1248cb0e98993307edc5422696 Mon Sep 17 00:00:00 2001 From: Yaxhveer Date: Fri, 3 May 2024 02:15:35 +0530 Subject: [PATCH] updated test Signed-off-by: Yaxhveer --- pkg/configs/db/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/configs/db/db_test.go b/pkg/configs/db/db_test.go index ee99de7092..0a007cefc9 100644 --- a/pkg/configs/db/db_test.go +++ b/pkg/configs/db/db_test.go @@ -30,7 +30,7 @@ func TestSetUserPassword(t *testing.T) { defer os.Remove(passwordFile.Name()) defer passwordFile.Close() - _, err = passwordFile.WriteString(" password ") + _, err = passwordFile.WriteString("\n\tpassword\n\n\t") if err != nil { t.Fatalf("error while writing to the password file: %v", err) }