diff options
author | Johann Klähn <kljohann@gmail.com> | 2012-10-23 12:13:22 +0200 |
---|---|---|
committer | Johann Klähn <kljohann@gmail.com> | 2012-10-23 12:13:22 +0200 |
commit | e824070b4ac098010f993dbdbcdff9a4bf1a3ba6 (patch) | |
tree | 983105ad9e617d8bb6499a1beafc0dc5ce5e9a98 /test/regress/0161EB1E.test | |
parent | 6b5fb0da7372d7f5e48607b3885b8f9b01afa99c (diff) | |
download | fork-ledger-e824070b4ac098010f993dbdbcdff9a4bf1a3ba6.tar.gz fork-ledger-e824070b4ac098010f993dbdbcdff9a4bf1a3ba6.tar.bz2 fork-ledger-e824070b4ac098010f993dbdbcdff9a4bf1a3ba6.zip |
fix bucket directive (bug 765)
This was caused by both 'A' and 'bucket' using
default_account_directive. This function was still stripping the 'A'
directive, so the first character of the account name used with 'bucket'
was cut off. Maybe the code for the other directives should be changed
accordingly for consistency (put line + 1 in call instead of function).
Diffstat (limited to 'test/regress/0161EB1E.test')
-rw-r--r-- | test/regress/0161EB1E.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/0161EB1E.test b/test/regress/0161EB1E.test new file mode 100644 index 00000000..93498ad5 --- /dev/null +++ b/test/regress/0161EB1E.test @@ -0,0 +1,15 @@ +bucket Assets:Checking +2011/04/25 Tom's Used Cars + Auto $ 5,500.00 + ; :nobudget: + +A Assets:Checking +2011/04/27 Book Store + Books $20.00 + +test reg +11-Apr-25 Tom's Used Cars Auto $ 5,500.00 $ 5,500.00 + Assets:Checking $ -5,500.00 0 +11-Apr-27 Book Store Books $ 20.00 $ 20.00 + Assets:Checking $ -20.00 0 +end test |