aboutsummaryrefslogtreecommitdiff
path: root/file/names_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'file/names_test.go')
-rw-r--r--file/names_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/file/names_test.go b/file/names_test.go
index f4d474b..38e374d 100644
--- a/file/names_test.go
+++ b/file/names_test.go
@@ -52,6 +52,7 @@ func TestSplit(t *testing.T) {
{".pub", "", ".pub"},
{".testkey.pub", ".testkey", ".pub"},
{"", "", ""},
+ {"path/key.pub", "key", ".pub"},
}
for _, tc := range testCases {
t.Run(tc.fname, func(t *testing.T) {