[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 733811a7b14f7a510f99977e41d97afa353603c6
Ville Skyttä
ville.skytta at iki.fi
Thu Dec 10 22:40:17 UTC 2009
The following commit has been merged in the master branch:
commit d1da93448f12573a9d177ed199b1066739d540af
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Dec 10 23:53:22 2009 +0200
Comment spelling fixes.
diff --git a/test/lib/library.exp b/test/lib/library.exp
index 9517071..c6a290e 100644
--- a/test/lib/library.exp
+++ b/test/lib/library.exp
@@ -6,11 +6,11 @@ package require textutil::string
-# Execute a bash command and make sure the exit status is succesful.
+# Execute a bash command and make sure the exit status is successful.
# The command is expected to return no output. See `assert_bash_exec_out' if
# you want to catch output from the bash command.
# If not, output the error message.
-# @param string $cmd Bash command line to execute. If emptry string (""), the
+# @param string $cmd Bash command line to execute. If empty string (""), the
# exit status of the previously executed bash command will be
# checked; specify `title' to adorn the error message.
# @param string $title (optional) Command title. If empty, `cmd' is used.
@@ -75,7 +75,7 @@ proc assert_bash_type {command} {
# Make sure the expected list is returned by executing the specified command.
# @param list $expected
# @param string $cmd Command given to generate items
-# @param string $test (optional) Test titel. Default is "$cmd<TAB> should show completions"
+# @param string $test (optional) Test title. Default is "$cmd<TAB> should show completions"
# @param string $prompt (optional) Bash prompt. Default is "/@"
# @param integer $size (optional) Chunk size. Default is 20.
# @result boolean True if successful, False if not
@@ -99,7 +99,7 @@ proc assert_bash_list {expected cmd {test ""} {prompt /@} {size 20}} {
# command.
# @param list $expected
# @param string $cmd Command given to generate items
-# @param string $test (optional) Test titel. Default is "$cmd<TAB> should show completions"
+# @param string $test (optional) Test title. Default is "$cmd<TAB> should show completions"
# @param string $prompt (optional) Bash prompt. Default is "/@"
# @param integer $size (optional) Chunk size. Default is 20.
# @param string $cword (optional) Last argument of $cmd which is an
@@ -240,7 +240,7 @@ proc assert_complete_any {cmd {test ""} {prompt /@}} {
# @param list $expected
# @param string $cmd Command given to generate items
# @param string $dir Subdirectory to attempt completion in. The directory must be relative from the $TESTDIR and without a trailing slash. E.g. `fixtures/evince'
-# @param string $test (optional) Test titel. Default is "$cmd<TAB> should show completions"
+# @param string $test (optional) Test title. Default is "$cmd<TAB> should show completions"
# @param string $prompt (optional) Bash prompt. Default is "/@"
# @param integer $size (optional) Chunk size. Default is 20.
# @param string $cword (optional) Last word of $cmd to complete. See: assert_complete()
@@ -262,7 +262,7 @@ proc assert_complete_dir {expected cmd dir {test ""} {size 20} {cword ""}} {
# @param list $expected List of all completions.
# @param string $cmd Command given to generate items
# @param string $partial Word to complete
-# @param string $test (optional) Test titel. Default is "$cmd<TAB> should show completions"
+# @param string $test (optional) Test title. Default is "$cmd<TAB> should show completions"
# @param string $prompt (optional) Bash prompt. Default is "/@"
# @param integer $size (optional) Chunk size. Default is 20.
# @param list $filters (optional) List of filters to apply to this function to tweak
@@ -385,7 +385,7 @@ proc assert_env_unmodified {{sed ""} {file ""} {diff ""}} {
# executed successful.
# @param string $command
# @param string $stdout (optional) Reference to variable to hold stdout.
-# @param string $test (optional) Test titel
+# @param string $test (optional) Test title
# @see assert_bash_exec()
proc assert_exec {cmd {stdout ''} {test ''}} {
if {$test == ""} {set test "$cmd should execute successful"}
--
bash-completion
More information about the Bash-completion-commits
mailing list