Comment spelling fixes.
This commit is contained in:
parent
0529d738d2
commit
d1da93448f
@ -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
|
# The command is expected to return no output. See `assert_bash_exec_out' if
|
||||||
# you want to catch output from the bash command.
|
# you want to catch output from the bash command.
|
||||||
# If not, output the error message.
|
# 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
|
# exit status of the previously executed bash command will be
|
||||||
# checked; specify `title' to adorn the error message.
|
# checked; specify `title' to adorn the error message.
|
||||||
# @param string $title (optional) Command title. If empty, `cmd' is used.
|
# @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.
|
# Make sure the expected list is returned by executing the specified command.
|
||||||
# @param list $expected
|
# @param list $expected
|
||||||
# @param string $cmd Command given to generate items
|
# @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 string $prompt (optional) Bash prompt. Default is "/@"
|
||||||
# @param integer $size (optional) Chunk size. Default is 20.
|
# @param integer $size (optional) Chunk size. Default is 20.
|
||||||
# @result boolean True if successful, False if not
|
# @result boolean True if successful, False if not
|
||||||
@ -99,7 +99,7 @@ proc assert_bash_list {expected cmd {test ""} {prompt /@} {size 20}} {
|
|||||||
# command.
|
# command.
|
||||||
# @param list $expected
|
# @param list $expected
|
||||||
# @param string $cmd Command given to generate items
|
# @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 string $prompt (optional) Bash prompt. Default is "/@"
|
||||||
# @param integer $size (optional) Chunk size. Default is 20.
|
# @param integer $size (optional) Chunk size. Default is 20.
|
||||||
# @param string $cword (optional) Last argument of $cmd which is an
|
# @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 list $expected
|
||||||
# @param string $cmd Command given to generate items
|
# @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 $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 string $prompt (optional) Bash prompt. Default is "/@"
|
||||||
# @param integer $size (optional) Chunk size. Default is 20.
|
# @param integer $size (optional) Chunk size. Default is 20.
|
||||||
# @param string $cword (optional) Last word of $cmd to complete. See: assert_complete()
|
# @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 list $expected List of all completions.
|
||||||
# @param string $cmd Command given to generate items
|
# @param string $cmd Command given to generate items
|
||||||
# @param string $partial Word to complete
|
# @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 string $prompt (optional) Bash prompt. Default is "/@"
|
||||||
# @param integer $size (optional) Chunk size. Default is 20.
|
# @param integer $size (optional) Chunk size. Default is 20.
|
||||||
# @param list $filters (optional) List of filters to apply to this function to tweak
|
# @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.
|
# executed successful.
|
||||||
# @param string $command
|
# @param string $command
|
||||||
# @param string $stdout (optional) Reference to variable to hold stdout.
|
# @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()
|
# @see assert_bash_exec()
|
||||||
proc assert_exec {cmd {stdout ''} {test ''}} {
|
proc assert_exec {cmd {stdout ''} {test ''}} {
|
||||||
if {$test == ""} {set test "$cmd should execute successful"}
|
if {$test == ""} {set test "$cmd should execute successful"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user