summaryrefslogtreecommitdiff
path: root/test/baseline/opt-lots-actual.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-19 20:52:24 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-19 20:52:24 +0100
commitadd2ffd5f34e8c68edcc95f9d0dbf6de11224ba1 (patch)
tree870338b179410a26fe2688ab2ca1cc7c9a639cca /test/baseline/opt-lots-actual.test
parent189bbd1546a945f778fc68957cc4a7699f55a099 (diff)
downloadfork-ledger-add2ffd5f34e8c68edcc95f9d0dbf6de11224ba1.tar.gz
fork-ledger-add2ffd5f34e8c68edcc95f9d0dbf6de11224ba1.tar.bz2
fork-ledger-add2ffd5f34e8c68edcc95f9d0dbf6de11224ba1.zip
Added baseline tests for --lot-tags and --lots-actual
Diffstat (limited to 'test/baseline/opt-lots-actual.test')
-rw-r--r--test/baseline/opt-lots-actual.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/baseline/opt-lots-actual.test b/test/baseline/opt-lots-actual.test
new file mode 100644
index 00000000..39a27363
--- /dev/null
+++ b/test/baseline/opt-lots-actual.test
@@ -0,0 +1,27 @@
+reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots
+<<<
+D 1.0000s
+
+2006/03/14 Opening Balances
+ Assets:Tajer 1339829c @ 1.86590975416s
+ Assets:Gruulmorg 248720c {10.051463493s}
+ Equity:Gold -5000000s
+>>>1
+ 1339829c {1.8659s} [2006/03/14]
+ 1339829c {1.8659s} [2006/03/14]
+ 248720c {10.0515s}
+ 1339829c {1.8659s} [2006/03/14]
+ 248720c {10.0515s}
+ -1388.9h
+>>>2
+=== 0
+reg --format '%(justify(scrub(total_expr), 40, 40, true))\n' --lots-actual
+>>>1
+ 1339829c
+ 1339829c
+ 248720c {10.0515s}
+ 1339829c
+ 248720c {10.0515s}
+ -1388.9h
+>>>2
+=== 0