Skip to content

Commit

Permalink
budget: another func test against my confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed May 17, 2018
1 parent a23b033 commit 3bf0f19
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions tests/budget/budget.test
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,34 @@ Budget performance in 2018/01/01:
|| 2018/01/01
===++==========================
a || 1 [ 100% of 1]

# 13. budget goals on both parent and subaccounts are counted
<
~ daily
(a) 100
(a:b:c) 1

2018/1/1
(a) 1
(a:b:c) 1

$ hledger -f- bal --budget
Budget performance in 2018/01/01:

|| 2018/01/01
=======++==========================
a || 1 [ 1% of 100]
a:b:c || 1 [ 100% of 1]
-------++--------------------------
|| 2 [ 2% of 101]

$ hledger -f- bal --budget --tree
Budget performance in 2018/01/01:

|| 2018/01/01
=======++==========================
a || 2 [ 2% of 101]
b || 1 [ 100% of 1]
c || 1 [ 100% of 1]
-------++--------------------------
|| 2 [ 2% of 101]

0 comments on commit 3bf0f19

Please sign in to comment.