hledger/tests/journal/directives.test
Simon Michael 31a754544a journal: parse account directives
We now parse account directives, like Ledger's. We don't do anything
with them yet. The default parent account feature must now be spelled
"apply account"/"end apply account".
2016-04-04 11:35:39 -07:00

19 lines
213 B
Plaintext

# . apply account, end apply account
hledger -f - accounts
<<<
apply account a
2016/1/1
(b) 1
end apply account
apply account aa
2016/1/1
(b) 1
end apply account
2016/1/2
(c) 1
>>>
a:b
aa:b
c
>>>=0