Add test for custom add-on action completion.

This commit is contained in:
Ingo Karkat
2012-02-28 10:27:28 +01:00
parent f76b6d5210
commit 6259cdb6da
2 changed files with 27 additions and 0 deletions

View File

@@ -17,5 +17,6 @@ test_todo_completion 'all actions after command action' 'todo.sh command ' "$ACT
test_todo_completion 'all arguments after option' 'todo.sh -a ' "$ACTIONS $OPTIONS"
test_todo_completion 'all arguments after options' 'todo.sh -a -p ' "$ACTIONS $OPTIONS"
test_todo_completion 'all options after options' 'todo.sh -a -p -' "$OPTIONS"
test_todo_completion 'nothing after action' 'todo.sh archive ' ''
test_done