Accept filters for lsprj

This commit is contained in:
jmoore
2011-11-03 10:24:29 +01:00
committed by Gina Trapani
parent a433c5828e
commit b8244792cc
2 changed files with 29 additions and 2 deletions

23
tests/t1260-listprj.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
test_description='list project functionality
'
. ./test-lib.sh
cat > todo.txt <<EOF
(B) smell the uppercase Roses +roses @outside
(C) notice the sunflowers +sunflowers @garden
stop
EOF
test_todo_session 'basic listproj' <<EOF
>>> todo.sh listproj
+roses
+sunflowers
EOF
test_todo_session 'listproj with context' <<EOF
>>> todo.sh listproj @garden
+sunflowers
EOF
test_done