From 6b998aee1023112f27cd2d34d85b189714a944e0 Mon Sep 17 00:00:00 2001 From: Michael Budde Date: Thu, 25 Jan 2018 19:21:53 +0100 Subject: Add support for --prepend-format in accounts command Add support for the `--prepend-format` and `--prepend-width` options in the `accounts` command. --- test/baseline/opt-prepend-format.test | 5 +++++ test/baseline/opt-prepend-width.test | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'test/baseline') diff --git a/test/baseline/opt-prepend-format.test b/test/baseline/opt-prepend-format.test index 105930f1..de79d72e 100644 --- a/test/baseline/opt-prepend-format.test +++ b/test/baseline/opt-prepend-format.test @@ -15,3 +15,8 @@ VMMXX07-Feb-02 RD VMMXX As:Inves:Vanguar:VMMXX 0.350 VMMXX 0.350 VMMXX In:Divid:Vanguar:VMMXX $-0.35 $-0.35 0.350 VMMXX end test + +test accounts --prepend-format "%(account_base) " +VMMXX Assets:Investments:Vanguard:VMMXX +VMMXX Income:Dividends:Vanguard:VMMXX +end test diff --git a/test/baseline/opt-prepend-width.test b/test/baseline/opt-prepend-width.test index c20baeb4..0efd220f 100644 --- a/test/baseline/opt-prepend-width.test +++ b/test/baseline/opt-prepend-width.test @@ -15,3 +15,8 @@ test reg --prepend-format "%(account_base) " --prepend-width=10 VMMXX In:Divid:Vanguar:VMMXX $-0.35 $-0.35 0.350 VMMXX end test + +test accounts --prepend-format "%(account_base) " --prepend-width=10 + VMMXX Assets:Investments:Vanguard:VMMXX + VMMXX Income:Dividends:Vanguard:VMMXX +end test -- cgit v1.2.3