The following commit has been merged in the master branch:
commit f486ae26a0adfa6bcdc8ac75280e0531c88f13d9
Author: Ville Skyttä <[email protected]>
Date:   Sat Nov 26 23:26:03 2011 +0200

    testsuite/assert_complete_dir: Fix passing $args to assert_complete.

diff --git a/test/lib/library.exp b/test/lib/library.exp
index f6e9f21..816c038 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"}
 }

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to