From e824070b4ac098010f993dbdbcdff9a4bf1a3ba6 Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Tue, 23 Oct 2012 12:13:22 +0200 Subject: 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). --- test/regress/0161EB1E.test | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/regress/0161EB1E.test (limited to 'test/regress/0161EB1E.test') 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 -- cgit v1.2.3