simplify tests for latest shelltestrunner

This commit is contained in:
Simon Michael 2009-07-14 21:50:02 +00:00
parent cb0a90cbd7
commit 4f22fd657e
3 changed files with 14 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# ignore the binary we are invoked with
-f/dev/null; echo "2009/1/32" | hledger add 2>&1 | sed -e's/\[[^]]*\]//g' | grep -q 'date : date :'
>>>=
0
add
<<<
2009/1/32
>>>2 /date .*: date .*/

View File

@ -1,4 +1,4 @@
# ignore the binary we are invoked with
-f/dev/null; echo | hledger add 2>&1 |sed -e's/\[[^]]*\]//g' | grep -q 'date : description:'
>>>=
0
add
<<<
>>>2 /date .*: description/

View File

@ -1,4 +1,6 @@
# ignore the binary we are invoked with
-f/dev/null; printf "\n\n" | hledger add 2>&1 | sed -e's/\[[^]]*\]//g' | grep -q 'date : description: description:'
>>>=
0
add
<<<
>>>2 /date .*: description: description:/