diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:18:09 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:18:09 -0500 |
commit | 46a419a5dabcc6b02231f12357b20f70a14cfe63 (patch) | |
tree | 1022e239f4725562f1fef97c5cb7394d53dab38b /test/doc/transaction-codes-2.test | |
parent | 6538a2d1b8630d2a8224e517bf35ce51ab561d3a (diff) | |
download | fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.tar.gz fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.tar.bz2 fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.zip |
Added DocTests to verify documentation examples
Diffstat (limited to 'test/doc/transaction-codes-2.test')
-rw-r--r-- | test/doc/transaction-codes-2.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/doc/transaction-codes-2.test b/test/doc/transaction-codes-2.test new file mode 100644 index 00000000..4e4c76cf --- /dev/null +++ b/test/doc/transaction-codes-2.test @@ -0,0 +1,24 @@ +bal checking --set-reported-account=code +<<< +2009/10/29 (XFER) Panera Bread + Expenses:Food $4.50 + Assets:Checking + +2009/10/30 (DEP) Pay day! + Assets:Checking $20.00 + Income + +2009/10/30 (XFER) Panera Bread + Expenses:Food $4.50 + Assets:Checking + +2009/10/31 (559385768438A8D7) Panera Bread + Expenses:Food $4.50 + Liabilities:Credit Card +>>>1 + $20.00 DEP + $-9.00 XFER +-------------------- + $11.00 +>>>2 +=== 0 |