diff options
author | John Wiegley <johnw@newartisans.com> | 2014-04-13 23:25:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-04-13 23:26:14 -0500 |
commit | 8f8a94c28e26c0b46a43e89d566c941994645de7 (patch) | |
tree | 3cbd52816734c55fb6233b9a3f7fb35cb0b36fd9 /test/baseline/feat-balance_assert_split.test | |
parent | 634aa589cd97d088524ae2fb68ec6120d5e4a873 (diff) | |
download | fork-ledger-8f8a94c28e26c0b46a43e89d566c941994645de7.tar.gz fork-ledger-8f8a94c28e26c0b46a43e89d566c941994645de7.tar.bz2 fork-ledger-8f8a94c28e26c0b46a43e89d566c941994645de7.zip |
Add the concept of "deferred postings"
This is pretty much exclusively for allowing one to use balance
assertions with replicated transactions across multiple files.
Diffstat (limited to 'test/baseline/feat-balance_assert_split.test')
-rw-r--r-- | test/baseline/feat-balance_assert_split.test | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/baseline/feat-balance_assert_split.test b/test/baseline/feat-balance_assert_split.test new file mode 100644 index 00000000..7c2450b6 --- /dev/null +++ b/test/baseline/feat-balance_assert_split.test @@ -0,0 +1,55 @@ +;; a.dat + +2012-01-01 Test + Expenses:Unknown $100.00 + Liabilities:MasterCard + +2012-01-02 Test + Expenses:Unknown $100.00 + Liabilities:MasterCard + +2012-01-03 Test + Expenses:Unknown $100.00 + Liabilities:MasterCard + +2012-01-04 Test + ; UUID: foo + Liabilities:MasterCard $150.00 = $-300 + <Assets:Checking> + +2012-01-04 Test + ; UUID: bar + Liabilities:MasterCard $150.00 = $0 + <Assets:Checking> + +;; b.dat + +2012-01-01 Test + Assets:Checking $150.00 + Income + +2012-01-02 Test + Assets:Checking $150.00 + Income + +2012-01-03 Test + Assets:Checking $150.00 + Income + +2012-01-04 Test + ; UUID: foo + Liabilities:MasterCard $150.00 + Assets:Checking $-150.00 = $300.00 + +2012-01-04 Test + ; UUID: bar + Liabilities:MasterCard $150.00 + Assets:Checking $-150.00 = $150.00 + +test balance + $150.00 Assets:Checking + $300.00 Expenses:Unknown + $-450.00 Income +-------------------- + 0 +end test |