summaryrefslogtreecommitdiff
path: root/test/baseline/opt-aux-date.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-28 03:02:16 -0600
commit656e46e1823ce00285f08f72d8473a58f9bd561a (patch)
tree46b5c2b9a246ad7380bc0f570280b59d48f97be6 /test/baseline/opt-aux-date.test
parent7a55c7ffc1e3565c82c746ea66dbb6af2e3d8509 (diff)
downloadfork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.gz
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.tar.bz2
fork-ledger-656e46e1823ce00285f08f72d8473a58f9bd561a.zip
Renamed actual/effective dates to primary/auxiliary
Diffstat (limited to 'test/baseline/opt-aux-date.test')
-rw-r--r--test/baseline/opt-aux-date.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-aux-date.test b/test/baseline/opt-aux-date.test
new file mode 100644
index 00000000..9d1e73d0
--- /dev/null
+++ b/test/baseline/opt-aux-date.test
@@ -0,0 +1,20 @@
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/31=2008/01/01 End of January
+ Expenses:Books $10.00 ; [=2008/02/01]
+ Assets:Cash
+
+2008/02/01 February
+ Expenses:Books $20.00
+ Assets:Cash
+
+test reg --effective
+08-Jan-01 January Expenses:Books $10.00 $10.00
+ Assets:Cash $-10.00 0
+08-Feb-01 End of January Expenses:Books $10.00 $10.00
+08-Jan-01 End of January Assets:Cash $-10.00 0
+08-Feb-01 February Expenses:Books $20.00 $20.00
+ Assets:Cash $-20.00 0
+end test