new test, small fixes

This commit is contained in:
Simon Michael 2011-03-12 20:56:15 +00:00
parent 2ff1925df7
commit 151f549450
2 changed files with 15 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# 1. accept a blank description
bin/hledger -f-
bin/hledger -f- print
<<<
2010/1/1
a 1
@ -8,7 +8,7 @@ bin/hledger -f-
>>>=0
# 2. same, but no separator space after the date
bin/hledger -f-
bin/hledger -f- print
<<<
2010/1/1
a 1

View File

@ -0,0 +1,13 @@
# should give an accurate parse error location
bin/hledger -f- stat
<<<
2010/1/1 x
a 1
b
2010/1/1 y
c: 1
d
>>>2 /line 6, column 5/
>>>= 1