summaryrefslogtreecommitdiff
path: root/args_test.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-18 23:34:43 +0300
committerGitHub <[email protected]>2017-05-18 23:34:43 +0300
commitdce08717c1081a4d35028ff7c2bc04d0b6b49d60 (patch)
tree17357f14eadb4654287eb664dfbe02914167f4db /args_test.go
parent659bd9e3d5a0113fb862bcbd06a983b0e74e8df7 (diff)
parent61d9904ba1f47bf5bbd3497ac0c9f5787adb8633 (diff)
Merge pull request #27 from posener/prefixes
Fix './' prefix for file completion
Diffstat (limited to 'args_test.go')
-rw-r--r--args_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/args_test.go b/args_test.go
index 78d346f..a211815 100644
--- a/args_test.go
+++ b/args_test.go
@@ -162,7 +162,7 @@ func TestArgs_Directory(t *testing.T) {
},
{
line: "a b c /tmp",
- directory: "/tmp",
+ directory: "/tmp/",
},
{
line: "a b c /tmp ",
@@ -178,7 +178,7 @@ func TestArgs_Directory(t *testing.T) {
},
{
line: "a b c dir",
- directory: "./dir/",
+ directory: "dir/",
},
{
line: "a b c ./di",