Merge pull request #85 from inkarkat/replace-fixes

FIX: Replacement with priority and date doesn't replace existing date.
This commit is contained in:
Gina Trapani
2012-05-10 20:55:15 -07:00
2 changed files with 15 additions and 6 deletions

View File

@@ -164,4 +164,12 @@ TODO: Replaced task with:
1 (A) 2010-07-04 this also has a new date
EOF
echo '2009-02-13 this is just a new one' > todo.txt
test_todo_session 'replace with prepended priority and date replaces existing date' <<EOF
>>> todo.sh replace 1 '(B) 2010-07-04 this also has a new date'
1 2009-02-13 this is just a new one
TODO: Replaced task with:
1 (B) 2010-07-04 this also has a new date
EOF
test_done