summaryrefslogtreecommitdiff
path: root/test/baseline/opt-format.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-format.test')
-rw-r--r--test/baseline/opt-format.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/baseline/opt-format.test b/test/baseline/opt-format.test
new file mode 100644
index 00000000..9841ea1a
--- /dev/null
+++ b/test/baseline/opt-format.test
@@ -0,0 +1,10 @@
+reg --format='%(account) = %(strip(amount))\n'
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+Assets:Investments:Vanguard:VMMXX = 0.350 VMMXX
+Income:Dividends:Vanguard:VMMXX = $-0.35
+>>>2
+=== 0