diff --git a/test/lib/library.exp b/test/lib/library.exp index 95170711..c6a290ea 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 should show completions" +# @param string $test (optional) Test title. Default is "$cmd 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 should show completions" +# @param string $test (optional) Test title. Default is "$cmd 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 should show completions" +# @param string $test (optional) Test title. Default is "$cmd 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 should show completions" +# @param string $test (optional) Test title. Default is "$cmd 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"}