mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
;dev: journal: better account subdirectives test
This commit is contained in:
parent
befded96d2
commit
a454b47ad9
@ -55,6 +55,19 @@ Balance Sheet 2018-01-01
|
||||
asset:a || -1
|
||||
b || -2
|
||||
|
||||
# 4. It ignores subdirectives.
|
||||
<
|
||||
account Expenses:Food
|
||||
note This account is all about the chicken!
|
||||
alias food
|
||||
payee ^(KFC|Popeyes)$
|
||||
check commodity == "$"
|
||||
assert commodity == "$"
|
||||
eval print("Hello!")
|
||||
default
|
||||
$ hledger -f- accounts
|
||||
Expenses:Food
|
||||
|
||||
# TODO
|
||||
# a trailing : should give a clear error
|
||||
# 2009/1/1
|
||||
|
Loading…
Reference in New Issue
Block a user