From 55679d136f03aaf7aa872d98aaa9d9ce2100173b Mon Sep 17 00:00:00 2001 From: Ingo Karkat Date: Sat, 17 Dec 2011 21:29:18 +0100 Subject: [PATCH] BUG: pri doesn't issue error when task does not exist. --- tests/t1200-pri.sh | 6 ++++++ todo.sh | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/t1200-pri.sh b/tests/t1200-pri.sh index 3d4ca70..7c6fe0c 100755 --- a/tests/t1200-pri.sh +++ b/tests/t1200-pri.sh @@ -66,6 +66,12 @@ TODO: 4 added. TODO: 4 of 4 tasks shown EOF +test_todo_session 'priority error' <>> todo.sh pri 10 B +=== 1 +TODO: No task 10. +EOF + cat > todo.txt <