summaryrefslogtreecommitdiff
path: root/test/baseline/opt-payee-as-account.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-21 22:04:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-21 22:04:41 -0400
commitff6878334882c1568e0f9147a428e0e613f7f75b (patch)
tree3eaf31c1502e7105ae7dd51b163f0e8f4eafdc43 /test/baseline/opt-payee-as-account.test
parenteb4aa8784338dc52730a97654bcd61642b4ff959 (diff)
downloadfork-ledger-ff6878334882c1568e0f9147a428e0e613f7f75b.tar.gz
fork-ledger-ff6878334882c1568e0f9147a428e0e613f7f75b.tar.bz2
fork-ledger-ff6878334882c1568e0f9147a428e0e613f7f75b.zip
Added more option baseline tests
Diffstat (limited to 'test/baseline/opt-payee-as-account.test')
-rw-r--r--test/baseline/opt-payee-as-account.test34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/baseline/opt-payee-as-account.test b/test/baseline/opt-payee-as-account.test
new file mode 100644
index 00000000..e85f5f0c
--- /dev/null
+++ b/test/baseline/opt-payee-as-account.test
@@ -0,0 +1,34 @@
+reg --payee-as-account
+<<<
+2008/01/01 * (100) January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/31 (101) End of January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/02/01 * (102) February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/02/28 (103) End of February
+ Expenses:Books $20.00
+ Assets:Cash
+
+2008/03/01 * March
+ Expenses:Books $30.00
+ Assets:Cash
+>>>1
+08-Jan-01 January January $10.00 $10.00
+08-Jan-01 January January $-10.00 0
+08-Jan-31 End of January End of January $10.00 $10.00
+08-Jan-31 End of January End of January $-10.00 0
+08-Feb-01 February February $20.00 $20.00
+08-Feb-01 February February $-20.00 0
+08-Feb-28 End of February End of February $20.00 $20.00
+08-Feb-28 End of February End of February $-20.00 0
+08-Mar-01 March March $30.00 $30.00
+08-Mar-01 March March $-30.00 0
+>>>2
+=== 0