summaryrefslogtreecommitdiff
path: root/test/baseline/opt-pivot.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-pivot.test')
-rw-r--r--test/baseline/opt-pivot.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/baseline/opt-pivot.test b/test/baseline/opt-pivot.test
index cd29691b..595d8066 100644
--- a/test/baseline/opt-pivot.test
+++ b/test/baseline/opt-pivot.test
@@ -60,6 +60,14 @@ test bal assets:receivables --pivot Invoice
28.00 GBP
end test
+test bal assets:receivables --pivot Invoice --flat
+ 11.00 GBP Invoice:102:Assets:Receivables
+ 12.00 GBP Invoice:103:Assets:Receivables
+ 5.00 GBP Invoice:105:Assets:Receivables
+--------------------
+ 28.00 GBP
+end test
+
test bal assets:receivables --pivot Invoice --empty
28.00 GBP Invoice
0 101:Assets:Receivables
@@ -101,6 +109,14 @@ test bal assets:receivables --pivot Customer
28.00 GBP
end test
+test bal assets:receivables --pivot Customer --flat
+ 12.00 GBP Customer:AAA:Assets:Receivables
+ 11.00 GBP Customer:BBB:Assets:Receivables
+ 5.00 GBP Customer:DDD:Assets:Receivables
+--------------------
+ 28.00 GBP
+end test
+
test bal assets:receivables --pivot Customer --empty
28.00 GBP Customer
12.00 GBP AAA:Assets:Receivables