From 94e1c6e406ab8c638e76d8b5e6c2d154479707f4 Mon Sep 17 00:00:00 2001 From: "Daniel St.Jacques" Date: Tue, 10 Oct 2017 10:10:34 -0400 Subject: [PATCH] Updated add command to accept lowercase priority (#230) - Updated add command to accept lowercase priority - Added testcase for add with lowercase priority --- tests/t1010-add-date.sh | 16 ++++++++++++++++ todo.sh | 14 ++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/tests/t1010-add-date.sh b/tests/t1010-add-date.sh index f53080d..74f5917 100755 --- a/tests/t1010-add-date.sh +++ b/tests/t1010-add-date.sh @@ -37,6 +37,22 @@ TODO: 2 of 2 tasks shown TODO: 2 deleted. EOF +test_todo_session 'cmd line first day with lowercase priority' <>> todo.sh -pt add '(b) notice the daisies' +2 (B) 2009-02-13 notice the daisies +TODO: 2 added. + +>>> todo.sh -p list +2 (B) 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 (B) 2009-02-13 notice the daisies +TODO: 2 deleted. +EOF + test_tick test_todo_session 'cmd line second day' <