summaryrefslogtreecommitdiff
path: root/test/lib/completions/mkdir.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/mkdir.exp')
-rw-r--r--test/lib/completions/mkdir.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/completions/mkdir.exp b/test/lib/completions/mkdir.exp
index 44e87cee..049212f0 100644
--- a/test/lib/completions/mkdir.exp
+++ b/test/lib/completions/mkdir.exp
@@ -17,14 +17,14 @@ assert_complete_any "mkdir "
sync_after_int
-assert_complete {"bar bar.d/" foo.d/} "mkdir $::srcdir/fixtures/shared/default/"
+assert_complete {bar "bar bar.d/" foo foo.d/} "mkdir $::srcdir/fixtures/shared/default/"
sync_after_int
-# No subdirs in foo.d and should not complete files in it (_longopt()).
-assert_no_complete "mkdir $::srcdir/fixtures/shared/default/foo.d/"
+set test "mkdir should complete files with nospace"
+assert_complete {foo} "mkdir $::srcdir/fixtures/shared/default/foo.d/" $test -nospace
sync_after_int