summaryrefslogtreecommitdiff
path: root/test/regress/E627C594.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 01:59:33 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 01:59:43 -0500
commit0a9cc833adebadc876e3e09f1c344b08b23e59f8 (patch)
tree3e6306b0ec16a6ebc49cd211c7d4d5451a5af9d3 /test/regress/E627C594.test
parent4a249d6172773db571556f469be6ee2c1c3690e9 (diff)
downloadfork-ledger-0a9cc833adebadc876e3e09f1c344b08b23e59f8.tar.gz
fork-ledger-0a9cc833adebadc876e3e09f1c344b08b23e59f8.tar.bz2
fork-ledger-0a9cc833adebadc876e3e09f1c344b08b23e59f8.zip
Added a regression test relating to forecasting
Diffstat (limited to 'test/regress/E627C594.test')
-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