diff options
-rw-r--r-- | test/baseline/opt-date.test | 8 | ||||
-rw-r--r-- | test/baseline/opt-gain.test | 2 | ||||
-rw-r--r-- | test/baseline/opt-time-colon.test | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/test/baseline/opt-date.test b/test/baseline/opt-date.test index 1290ce8f..9868e0ea 100644 --- a/test/baseline/opt-date.test +++ b/test/baseline/opt-date.test @@ -4,11 +4,11 @@ D 1000.00 GBP Assets:Broker 2 AAA @ 0.90 GBP Assets:Bank -2011-03-05 Buy shares ; date: 2011-04-06 +2011-03-05 Buy shares ; date: 2011-04-06 Assets:Broker 2 AAA @ 1.00 GBP Assets:Bank -test reg --input-date-format '%Y-%m-%d' --date-format %d-%m-%Y --date 'has_tag("date") ? to_date(tag("date")) : date' +test reg --input-date-format %Y-%m-%d --date-format %d-%m-%Y --date 'has_tag("date") ? to_date(tag("date")) : date' 05-04-2011 Buy shares Assets:Broker 2 AAA 2 AAA 05-04-2011 Buy shares Assets:Bank -1.80 GBP 2 AAA -1.80 GBP @@ -18,7 +18,7 @@ test reg --input-date-format '%Y-%m-%d' --date-format %d-%m-%Y --date 'has_tag( -3.80 GBP end test -test reg --date 'date + 2' +test reg --date 'date + 2' 11-Mar-06 Buy shares Assets:Broker 2 AAA 2 AAA 11-Mar-06 Buy shares Assets:Bank -1.80 GBP 2 AAA -1.80 GBP @@ -38,7 +38,7 @@ test reg --date 'date - 2' -3.80 GBP end test -test reg --date 'date + 365*2' +test reg --date 'date + 365*2' 13-Mar-03 Buy shares Assets:Broker 2 AAA 2 AAA 13-Mar-03 Buy shares Assets:Bank -1.80 GBP 2 AAA -1.80 GBP diff --git a/test/baseline/opt-gain.test b/test/baseline/opt-gain.test index 52439080..8188976c 100644 --- a/test/baseline/opt-gain.test +++ b/test/baseline/opt-gain.test @@ -67,7 +67,7 @@ test bal --change 4500 P Assets:Brokerage:Stocks end test -test bal -G +test bal -G 4500 P Assets:Brokerage:Stocks end test diff --git a/test/baseline/opt-time-colon.test b/test/baseline/opt-time-colon.test index 1722a9f6..a2bd77d2 100644 --- a/test/baseline/opt-time-colon.test +++ b/test/baseline/opt-time-colon.test @@ -22,7 +22,7 @@ test bal 30.0m Walk -------------------- 4.00h -end test +end test test bal --time-colon 5:0m CustomerA:Email @@ -35,7 +35,7 @@ test bal --time-colon 4:00h end test -test reg --time-colon +test reg --time-colon 13-Apr-05 <Unspecified payee> (Int:Meeting:Tactical) 30:0m 30:0m 13-Apr-05 <Unspecified payee> (CustomerA:Email) 5:0m 35:0m 13-Apr-05 <Unspecified payee> (CustomerB:Config) 1:25h 2:00h |