summaryrefslogtreecommitdiff
path: root/test/baseline/opt-flat.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 20:30:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 20:30:43 -0400
commit96ff798736cd06812fb7e463c14d6c356c8228e3 (patch)
tree7e61a411640d891cebaceba737a27ab2b6747a59 /test/baseline/opt-flat.test
parent8ed4f3562fc1ffbb3f393da603fcf45f7a0050b2 (diff)
downloadfork-ledger-96ff798736cd06812fb7e463c14d6c356c8228e3.tar.gz
fork-ledger-96ff798736cd06812fb7e463c14d6c356c8228e3.tar.bz2
fork-ledger-96ff798736cd06812fb7e463c14d6c356c8228e3.zip
Added more option baseline tests
Diffstat (limited to 'test/baseline/opt-flat.test')
-rw-r--r--test/baseline/opt-flat.test32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/baseline/opt-flat.test b/test/baseline/opt-flat.test
new file mode 100644
index 00000000..ddf37d2e
--- /dev/null
+++ b/test/baseline/opt-flat.test
@@ -0,0 +1,32 @@
+bal --flat
+<<<
+2008/01/01 January
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/01 January
+ Expenses:One:Books $10.00
+ Expenses:One:Two:Books $10.00
+ Expenses:One:Two:Three:Books $10.00
+ Assets:Cash
+
+2008/01/01 January
+ Assets:Cash
+ Income:Books $-10.00
+
+2008/01/01 January
+ Assets:Cash
+ Income:One:Books $-10.00
+ Income:One:Two:Books $-10.00
+ Income:One:Two:Three:Books $-10.00
+>>>1
+ $10.00 Expenses:Books
+ $10.00 Expenses:One:Books
+ $10.00 Expenses:One:Two:Books
+ $10.00 Expenses:One:Two:Three:Books
+ $-10.00 Income:Books
+ $-10.00 Income:One:Books
+ $-10.00 Income:One:Two:Books
+ $-10.00 Income:One:Two:Three:Books
+>>>2
+=== 0