aboutsummaryrefslogtreecommitdiff
path: root/file/names_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-05-03 14:42:06 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-05-03 14:42:06 +0200
commit1b4ed34a5ab493f14494304904da5a553cc4980b (patch)
tree2d852d70654e32208e54b8a658daa418cff7c9a9 /file/names_test.go
parenta60a43fadb0ebc1a5c87fc36a77c6b8d671fba95 (diff)
Split path
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) {