test: csv reader test for #1001
This commit is contained in:
parent
5bd407b3b9
commit
1acebe1493
@ -367,7 +367,7 @@ if HEADER
|
||||
MIDDLE
|
||||
END OF FILE
|
||||
skip
|
||||
|
||||
|
||||
$ ./hledger-csv
|
||||
2009/09/10 Flubber Co
|
||||
assets:myacct $50
|
||||
@ -407,6 +407,39 @@ $ ./hledger-csv
|
||||
|
||||
>=0
|
||||
|
||||
# 20. Test for #1001 - empty assignment to amount show not eat next line
|
||||
<
|
||||
2018-10-15,100
|
||||
2018-10-16,200
|
||||
2018-10-17,300
|
||||
RULES
|
||||
fields date,bal
|
||||
|
||||
balance EUR %bal
|
||||
date-format %Y-%m-%d
|
||||
description Assets Update
|
||||
account1 assets
|
||||
account2 income
|
||||
if 2018
|
||||
amount
|
||||
comment Dont eat me
|
||||
balance
|
||||
comment Dont eat me
|
||||
$ ./hledger-csv
|
||||
2018/10/15 Assets Update ; Dont eat me
|
||||
assets
|
||||
income
|
||||
|
||||
2018/10/16 Assets Update ; Dont eat me
|
||||
assets
|
||||
income
|
||||
|
||||
2018/10/17 Assets Update ; Dont eat me
|
||||
assets
|
||||
income
|
||||
|
||||
>=0
|
||||
|
||||
# . TODO: without --separator gives obscure error
|
||||
# |
|
||||
# 1 | 10/2009/09;Flubber Co🎅;50;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user