From 0a9cc833adebadc876e3e09f1c344b08b23e59f8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Nov 2009 01:59:33 -0500 Subject: Added a regression test relating to forecasting --- test/regress/E627C594.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/regress/E627C594.test (limited to 'test/regress/E627C594.test') diff --git a/test/regress/E627C594.test b/test/regress/E627C594.test new file mode 100644 index 00000000..0dfbf778 --- /dev/null +++ b/test/regress/E627C594.test @@ -0,0 +1,18 @@ +reg --forecast-while="d<[2010/03/01]" --now=2009/11/01 +<<< +~ Monthly + Expenses:Food $500.00 + Assets + +2009/11/01 Sample + Expenses:Food:Dining $20.00 + Assets +>>>1 +09-Nov-01 Sample Expenses:Food:Dining $20.00 $20.00 + Assets $-20.00 0 +10-Jan-01 Forecast transaction Expenses:Food $500.00 $500.00 +10-Jan-01 Forecast transaction Assets $-500.00 0 +10-Feb-01 Forecast transaction Expenses:Food $500.00 $500.00 +10-Feb-01 Forecast transaction Assets $-500.00 0 +>>>2 +=== 0 -- cgit v1.2.3