summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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