diff --git a/tests/t1010-add-date.sh b/tests/t1010-add-date.sh index bb9632c..abb345d 100755 --- a/tests/t1010-add-date.sh +++ b/tests/t1010-add-date.sh @@ -21,6 +21,22 @@ TODO: 1 added. TODO: 1 of 1 tasks shown EOF +test_todo_session 'cmd line first day with priority' <>> todo.sh -pt add '(A) notice the daisies' +2 (A) 2009-02-13 notice the daisies +TODO: 2 added. + +>>> todo.sh -p list +2 (A) 2009-02-13 notice the daisies +1 2009-02-13 notice the daisies +-- +TODO: 2 of 2 tasks shown + +>>> todo.sh -npf del 2 +2 (A) 2009-02-13 notice the daisies +TODO: 2 deleted. +EOF + test_tick test_todo_session 'cmd line second day' <> "$file" if [ $TODOTXT_VERBOSE -gt 0 ]; then