summaryrefslogtreecommitdiff
path: root/internal/cli/kdbx_store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/kdbx_store_test.go')
-rw-r--r--internal/cli/kdbx_store_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/cli/kdbx_store_test.go b/internal/cli/kdbx_store_test.go
index bff1a0a..035c03c 100644
--- a/internal/cli/kdbx_store_test.go
+++ b/internal/cli/kdbx_store_test.go
@@ -25,12 +25,3 @@ func TestSanitizeRelativePathRejectsTraversal(t *testing.T) {
}
}
-func TestExtractPasswordFromContent(t *testing.T) {
- password, notes := extractPasswordFromContent("user: alice\npassword: s3cr3t\nurl: example.com\n")
- if password != "s3cr3t" {
- t.Fatalf("password = %q; want s3cr3t", password)
- }
- if notes != "user: alice\nurl: example.com" {
- t.Fatalf("notes = %q; want without password line", notes)
- }
-}