summaryrefslogtreecommitdiff
path: root/test/baseline/opt-collapse_reg.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 02:32:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 02:32:18 -0500
commitee93b5c740abda29045a49e9c791262425e35105 (patch)
tree8348c55ff44c2afb74bff081aab882246d0bdabf /test/baseline/opt-collapse_reg.test
parentd76a6a82dc95eefd75c46b658e45da397de5a365 (diff)
downloadfork-ledger-ee93b5c740abda29045a49e9c791262425e35105.tar.gz
fork-ledger-ee93b5c740abda29045a49e9c791262425e35105.tar.bz2
fork-ledger-ee93b5c740abda29045a49e9c791262425e35105.zip
Added baseline test for reg -n
Diffstat (limited to 'test/baseline/opt-collapse_reg.test')
-rw-r--r--test/baseline/opt-collapse_reg.test46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/baseline/opt-collapse_reg.test b/test/baseline/opt-collapse_reg.test
new file mode 100644
index 00000000..12d4a2d9
--- /dev/null
+++ b/test/baseline/opt-collapse_reg.test
@@ -0,0 +1,46 @@
+reg --collapse food
+<<<
+2009/10/01 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/02 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/03 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/04 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/05 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/06 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+
+2009/10/07 Test
+ Expenses:Food:Dining $10
+ Expenses:Food:Tips $1
+ Assets:Cash
+>>>1
+09-Oct-01 Test <Total> $11 $11
+09-Oct-02 Test <Total> $11 $22
+09-Oct-03 Test <Total> $11 $33
+09-Oct-04 Test <Total> $11 $44
+09-Oct-05 Test <Total> $11 $55
+09-Oct-06 Test <Total> $11 $66
+09-Oct-07 Test <Total> $11 $77
+>>>2
+=== 0