summaryrefslogtreecommitdiff
path: root/test/baseline/opt-lot-notes.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
commit64a9b42381c26baf24e58b40f50f0b253e551811 (patch)
tree5447a29dff64c3a8b7be8100a01bcb4a2d73b0bb /test/baseline/opt-lot-notes.test
parent7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff)
parentb4407c10c0071365322b2963747bf42a57fd7304 (diff)
downloadfork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.gz
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.bz2
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.zip
Merge branch 'release/v3.0.0-20120426'
Diffstat (limited to 'test/baseline/opt-lot-notes.test')
-rw-r--r--test/baseline/opt-lot-notes.test31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/baseline/opt-lot-notes.test b/test/baseline/opt-lot-notes.test
new file mode 100644
index 00000000..3bfa9e45
--- /dev/null
+++ b/test/baseline/opt-lot-notes.test
@@ -0,0 +1,31 @@
+2012-01-01 * Opening balance
+ Assets:Cash 100.00 GBP
+ Equity:Opening Balance
+
+2012-01-02 * Voucher 1
+ Assets:Voucher 10.00 GBP (aaaa)
+ Assets:Cash -10.00 GBP
+
+2012-01-03 * Voucher 1
+ Assets:Voucher 10.00 GBP (bbbb)
+ Assets:Cash -10.00 GBP
+
+2012-01-04 * Voucher 1
+ Assets:Voucher 10.00 GBP (cccc)
+ Assets:Cash -10.00 GBP
+
+test bal assets:voucher --lot-notes
+ 10.00 GBP (aaaa)
+ 10.00 GBP (bbbb)
+ 10.00 GBP (cccc) Assets:Voucher
+end test
+
+test reg assets:voucher --lot-notes
+12-Jan-02 Voucher 1 Assets:Voucher 10.00 GBP (aaaa) 10.00 GBP (aaaa)
+12-Jan-03 Voucher 1 Assets:Voucher 10.00 GBP (bbbb) 10.00 GBP (aaaa)
+ 10.00 GBP (bbbb)
+12-Jan-04 Voucher 1 Assets:Voucher 10.00 GBP (cccc) 10.00 GBP (aaaa)
+ 10.00 GBP (bbbb)
+ 10.00 GBP (cccc)
+end test
+