(testsuite) fix indent/comment sync_after_int

This commit is contained in:
Freddy Vulto 2010-02-11 23:12:04 +01:00
parent 9f107370c4
commit 99e550c3a8

View File

@ -840,13 +840,13 @@ proc sync_after_int {{prompt /@}} {
# See also: http://lists.alioth.debian.org/pipermail/bash-completion-devel/
# 2010-February/002566.html
sleep .1
# NOTE: Regexp `.*' causes `expect' to discard previous unknown output.
# This is necessary if a completion doesn't match expectations.
# For instance with `filetype_xspec' completion (e.g. `kdvi') if
# one expects `.txt' as a completion (wrong, because it isn't
# there), the unmatched completions need to be cleaned up.
# NOTE: Regexp `.*' causes `expect' to discard previous unknown output.
# This is necessary if a completion doesn't match expectations.
# For instance with `filetype_xspec' completion (e.g. `kdvi') if
# one expects `.txt' as a completion (wrong, because it isn't
# there), the unmatched completions need to be cleaned up.
expect -re ".*$prompt$"
}; # sync_after_int()
}
proc sync_after_tab {} {