Updated _list() output to match updated addto. Adjusted tests to match.

- _list() now shows the capitalized filename in place of 'TODO:'.
  For example, listing garden.txt produces a output prefixed by 'GARDEN:'
  This eliminates the ' from $FILE' part of the _list() output. All tests
  were adjusted to match this new output.
This commit is contained in:
Jared Cordasco
2010-01-12 14:42:02 -05:00
parent 2d3820394a
commit b6467eaa64
13 changed files with 75 additions and 73 deletions

View File

@@ -24,7 +24,7 @@ test_todo_session 'basic append' <<EOF
>>> todo.sh list
1 notice the daisies smell the roses
--
TODO: 1 of 1 tasks shown from $HOME/todo.txt
TODO: 1 of 1 tasks shown
EOF
test_todo_session 'basic append with &' <<EOF
@@ -34,7 +34,7 @@ test_todo_session 'basic append with &' <<EOF
>>> todo.sh list
1 notice the daisies smell the roses see the wasps & bees
--
TODO: 1 of 1 tasks shown from $HOME/todo.txt
TODO: 1 of 1 tasks shown
EOF