From ba35340ca9c7351beab0ff9fa7a58591eb6ad39f Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 28 Dec 2014 14:45:39 +0100 Subject: Bugfix 1038: empty reg report for this month period when year was specified with literal Y or year directive, but not when using apply year. --- test/regress/1038_1.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/regress/1038_1.test (limited to 'test/regress/1038_1.test') diff --git a/test/regress/1038_1.test b/test/regress/1038_1.test new file mode 100644 index 00000000..c833816e --- /dev/null +++ b/test/regress/1038_1.test @@ -0,0 +1,18 @@ +Y2014 + +04/13 Bank + Expenses:Loan $400 + Assets:Cash + +05/13 Bug 1038 Test + Expenses:Some:Account $500 + Assets:Cash + +06/13 Landlord + Expenses:Rent $600 + Assets:Cash + +test reg --now 2014-05-14 -p 'this month' +14-May-13 Bug 1038 Test Expenses:Some:Account $500 $500 + Assets:Cash $-500 0 +end test -- cgit v1.2.3