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:
@@ -26,7 +26,7 @@ replaced with
|
||||
>>> todo.sh list
|
||||
1 smell the cows
|
||||
--
|
||||
TODO: 1 of 1 tasks shown from $HOME/todo.txt
|
||||
TODO: 1 of 1 tasks shown
|
||||
|
||||
>>> todo.sh replace 1 smell the roses
|
||||
1: smell the cows
|
||||
@@ -36,7 +36,7 @@ replaced with
|
||||
>>> todo.sh list
|
||||
1 smell the roses
|
||||
--
|
||||
TODO: 1 of 1 tasks shown from $HOME/todo.txt
|
||||
TODO: 1 of 1 tasks shown
|
||||
EOF
|
||||
|
||||
cat > todo.txt <<EOF
|
||||
|
||||
Reference in New Issue
Block a user