new test, small fixes
This commit is contained in:
parent
2ff1925df7
commit
151f549450
@ -1,5 +1,5 @@
|
|||||||
# 1. accept a blank description
|
# 1. accept a blank description
|
||||||
bin/hledger -f-
|
bin/hledger -f- print
|
||||||
<<<
|
<<<
|
||||||
2010/1/1
|
2010/1/1
|
||||||
a 1
|
a 1
|
||||||
@ -8,7 +8,7 @@ bin/hledger -f-
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 2. same, but no separator space after the date
|
# 2. same, but no separator space after the date
|
||||||
bin/hledger -f-
|
bin/hledger -f- print
|
||||||
<<<
|
<<<
|
||||||
2010/1/1
|
2010/1/1
|
||||||
a 1
|
a 1
|
||||||
|
|||||||
13
tests/parse-posting-error-pos.test
Normal file
13
tests/parse-posting-error-pos.test
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user