test-lib: Add test_todo_custom_completion variant.

This extension of test_todo_completion additionally takes the completion function to use, so that customized completions for todo.sh aliases can be tested.
This commit is contained in:
Ingo Karkat
2012-02-27 13:38:58 +01:00
parent 79f428779c
commit 3d0a4d0b30
2 changed files with 16 additions and 4 deletions

View File

@@ -197,6 +197,11 @@ library for your script to use.
context of the last argument. <message> should state what it
is testing.
- test_todo_custom_completion <completefunc> <message> <cmdline> <completions>
Same as above, but in addition allows to specify a custom
completion function.
- test_tick [interval]
The test harness has an internal view of time which is