diff --git a/tests/README b/tests/README index 971c94c..d5fc70a 100644 --- a/tests/README +++ b/tests/README @@ -191,11 +191,18 @@ library for your script to use. This takes three strings as parameter. Based on , the todo_completion script is triggered in the current test environment and completions are compared with , - which should be a space-separated list. Include a trailing - space in when you want to check new argument - completion; otherwise, completion is triggered with the - context of the last argument. should state what it - is testing. + which should be a space-separated list. If any completion + contains whitespace, quote it; the entire + argument is eval()'ed. + Include a trailing space in when you want to check + new argument completion; otherwise, completion is triggered + with the context of the last argument. should state + what it is testing. + + - test_todo_custom_completion + + Same as above, but in addition allows to specify a custom + completion function. - test_tick [interval] @@ -216,6 +223,13 @@ library for your script to use. 'git-write-tree should be able to write an empty tree.' \ 'tree=$(git-write-tree)' + - test_expect_code