summaryrefslogtreecommitdiff
path: root/internal/readpassword/passfile_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/readpassword/passfile_test.go')
-rw-r--r--internal/readpassword/passfile_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/readpassword/passfile_test.go b/internal/readpassword/passfile_test.go
index 30f976f..cb7fa44 100644
--- a/internal/readpassword/passfile_test.go
+++ b/internal/readpassword/passfile_test.go
@@ -14,6 +14,7 @@ func TestPassfile(t *testing.T) {
{"mypassword.txt", "mypassword"},
{"mypassword_garbage.txt", "mypassword"},
{"mypassword_missing_newline.txt", "mypassword"},
+ {"file with spaces.txt", "mypassword"},
}
for _, tc := range testcases {
pw := readPassFile("passfile_test_files/" + tc.file)