diff --git a/tests/t6000-completion.sh b/tests/t6000-completion.sh index cb1eccf..babe13e 100755 --- a/tests/t6000-completion.sh +++ b/tests/t6000-completion.sh @@ -14,5 +14,8 @@ test_todo_completion 'all arguments' 'todo.sh ' "$ACTIONS $OPTIONS" test_todo_completion 'arguments beginning with a' 'todo.sh a' 'add a addto addm append app archive' test_todo_completion 'all options' 'todo.sh -' "$OPTIONS" test_todo_completion 'all actions after command action' 'todo.sh command ' "$ACTIONS" +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_done