summaryrefslogtreecommitdiff
path: root/test/doc/transaction-codes-1.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:18:09 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:18:09 -0500
commit46a419a5dabcc6b02231f12357b20f70a14cfe63 (patch)
tree1022e239f4725562f1fef97c5cb7394d53dab38b /test/doc/transaction-codes-1.test
parent6538a2d1b8630d2a8224e517bf35ce51ab561d3a (diff)
downloadfork-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-1.test')
-rw-r--r--test/doc/transaction-codes-1.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/doc/transaction-codes-1.test b/test/doc/transaction-codes-1.test
new file mode 100644
index 00000000..878c5cac
--- /dev/null
+++ b/test/doc/transaction-codes-1.test
@@ -0,0 +1,22 @@
+reg --columns=60 food and code xfer
+<<<
+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
+09-Oct-29 Panera Bread Expenses:Food $4.50 $4.50
+09-Oct-30 Panera Bread Expenses:Food $4.50 $9.00
+>>>2
+=== 0