diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-18 16:12:27 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-18 16:12:27 +0100 |
commit | 6dd362dfde54e2ff974907417fd11dd61a30540d (patch) | |
tree | b43cc2b1fd5327ebff53e6f38bd006c1da1d1109 | |
parent | 4253c2a35dc3592d9d31a7ebf270ea4fa3c63e38 (diff) | |
download | fork-ledger-6dd362dfde54e2ff974907417fd11dd61a30540d.tar.gz fork-ledger-6dd362dfde54e2ff974907417fd11dd61a30540d.tar.bz2 fork-ledger-6dd362dfde54e2ff974907417fd11dd61a30540d.zip |
Added baseline tests for --print,register-format
-rw-r--r-- | test/baseline/opt-print-format.test | 10 | ||||
-rw-r--r-- | test/baseline/opt-register-format.test | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-print-format.test b/test/baseline/opt-print-format.test new file mode 100644 index 00000000..103ceb1e --- /dev/null +++ b/test/baseline/opt-print-format.test @@ -0,0 +1,10 @@ +print --print-format='%(amount)\n' +<<< +2007/02/02 RD VMMXX + Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00 + Income:Dividends:Vanguard:VMMXX $-0.35 +>>>1 +0.350 VMMXX {$1.00} [2007/02/02] +$-0.35 +>>>2 +=== 0 diff --git a/test/baseline/opt-register-format.test b/test/baseline/opt-register-format.test new file mode 100644 index 00000000..2384b6e2 --- /dev/null +++ b/test/baseline/opt-register-format.test @@ -0,0 +1,10 @@ +reg --register-format='%(amount)\n' +<<< +2007/02/02 RD VMMXX + Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00 + Income:Dividends:Vanguard:VMMXX $-0.35 +>>>1 +0.350 VMMXX {$1.00} [2007/02/02] +$-0.35 +>>>2 +=== 0 |