summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/regress/E627C594.test18
1 files changed, 18 insertions, 0 deletions
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