42 lines
756 B
Plaintext
42 lines
756 B
Plaintext
# * --anon flag
|
|
|
|
# Input for the following tests:
|
|
|
|
account assets
|
|
account expenses
|
|
alias tips=expenses:tips
|
|
|
|
2019-01-01 (receipt) ; signed
|
|
(assets) 2
|
|
|
|
2019-02-01 borrow
|
|
(liabilities) 1
|
|
(tips) 3
|
|
|
|
# Basic tests on accounts
|
|
# ** 1.
|
|
$ hledger -f- print --anon
|
|
> !/assets|liabilities|expenses|tips/
|
|
# ** 2.
|
|
$ hledger -f- reg --anon
|
|
> !/assets|liabilities|expenses|tips/
|
|
# ** 3.
|
|
$ hledger -f- bal --anon
|
|
> !/assets|liabilities|expenses|tips/
|
|
# ** 4.
|
|
$ hledger -f- accounts --anon
|
|
> !/assets|liabilities|expenses|tips/
|
|
|
|
# Basic tests on descriptions and comments
|
|
# ** 5.
|
|
$ hledger -f- print --anon
|
|
> !/borrow|signed/
|
|
# ** 6.
|
|
$ hledger -f- reg --anon
|
|
> !/borrow/
|
|
|
|
# Basic tests on transaction code
|
|
# ** 7.
|
|
$ hledger -f- print --anon
|
|
> !/receipt/
|