From 46a419a5dabcc6b02231f12357b20f70a14cfe63 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Nov 2009 21:18:09 -0500 Subject: Added DocTests to verify documentation examples --- test/doc/transaction-notes-4.test | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/doc/transaction-notes-4.test (limited to 'test/doc/transaction-notes-4.test') 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 -- cgit v1.2.3