diff options
author | Mitchell Kember <mk12360@gmail.com> | 2016-10-04 21:34:09 -0700 |
---|---|---|
committer | Mitchell Kember <mk12360@gmail.com> | 2016-10-07 20:25:20 -0700 |
commit | d541cceaf7d4e77c239849679e3ae7a449ae8c8b (patch) | |
tree | c6cc326dd21ac5648fd865f118add86ae9a251ca /test/regress/1187_4.test | |
parent | e27ae09e2285482f2c95f1ec53d8629f4072f081 (diff) | |
download | fork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.tar.gz fork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.tar.bz2 fork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.zip |
Fix bug 1187: Allow balance assertions with multiple posts to same account
Diffstat (limited to 'test/regress/1187_4.test')
-rw-r--r-- | test/regress/1187_4.test | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/regress/1187_4.test b/test/regress/1187_4.test new file mode 100644 index 00000000..4804d5c6 --- /dev/null +++ b/test/regress/1187_4.test @@ -0,0 +1,32 @@ +2000/01/01 Multiple commodities + A $5.00 + A 32 F + B $-12 + C + +2000/01/02 Assertions + A $1 = $6 + A 1 F = 33 F + A $1 = $7 + A 1 F = 34 F + B 3 F = 3 F + B $12 = $0 + B 1 F = 4 F + C + +2000/01/03 Assignments + A = $0 + A -4 F = 30 F + B $-7 = $-7 + B = 0 F + C $14 + C 8 F + +test bal + 30 F A + $-7.00 B + $7.00 + -30 F C +-------------------- + 0 +end test |