summaryrefslogtreecommitdiff
path: root/test/doc/transaction-notes-4.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/doc/transaction-notes-4.test')
-rw-r--r--test/doc/transaction-notes-4.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/doc/transaction-notes-4.test b/test/doc/transaction-notes-4.test
new file mode 100644
index 00000000..516094c7
--- /dev/null
+++ b/test/doc/transaction-notes-4.test
@@ -0,0 +1,27 @@
+bal food and tag type --set-reported-account='"Tags:" + tag("Type")'
+<<<
+2009/11/01 Panera Bread ; Got something to eat
+ Expenses:Food $4.50
+ Assets:Checking
+
+2009/11/01 Panera Bread
+ ; Type: Coffee
+ ; Let’s see, I ate a whole bunch of stuff, drank some coffee,
+ ; pondered a bagel, then decided against the donut.
+ Expenses:Food $4.50
+ Assets:Checking
+
+2009/11/01 Panera Bread
+ ; Type: Dining
+ ; :Eating:
+ ; This is another long note, after the metadata.
+ Expenses:Food $4.50
+ Assets:Checking
+>>>1
+ $9.00 Tags
+ $4.50 Coffee
+ $4.50 Dining
+--------------------
+ $9.00
+>>>2
+=== 0