summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-26 23:26:03 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-26 23:26:03 +0200
commitf486ae26a0adfa6bcdc8ac75280e0531c88f13d9 (patch)
tree6211b20a3b56bd0a61e71d29fb7df92201717ad9
parentba24f209cafa2e7493ea08ea08c24d581b9cf39b (diff)
downloadbash-completion-f486ae26a0adfa6bcdc8ac75280e0531c88f13d9.tar.gz
testsuite/assert_complete_dir: Fix passing $args to assert_complete.
-rw-r--r--test/lib/library.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/library.exp b/test/lib/library.exp
index f6e9f21a..816c038f 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -368,7 +368,7 @@ proc assert_complete_any {cmd {test ""} {prompt /@}} {
proc assert_complete_dir {expected cmd dir {test ""} {args {}}} {
set prompt "/@"
assert_bash_exec "cd $dir" "" $prompt
- assert_complete $expected $cmd $test $args
+ eval assert_complete \$expected \$cmd \$test $args
sync_after_int $prompt
assert_bash_exec {cd "$TESTDIR"}
}