From a734ba50260f516d5253df20f7a38c5e1e3952a2 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 25 Jun 2024 09:04:09 +0100 Subject: [PATCH] ;dev: update tests for weekly headings change [#2204] Unfortunately our ci workflow does not reliably detect commit messages with PRs, and in this case it wrongly identified the commit as a harmless doc change. --- hledger/test/balance/budget.test | 4 ++-- hledger/test/cli/report-interval.test | 4 ++-- hledger/test/register/intervals.test | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hledger/test/balance/budget.test b/hledger/test/balance/budget.test index e83a3cf39..21711cdd4 100644 --- a/hledger/test/balance/budget.test +++ b/hledger/test/balance/budget.test @@ -156,9 +156,9 @@ Budget performance in 2018-01-01..2018-01-03: # ** 6. Budget goals with higher frequency than the report get added up appropriately. $ hledger -f- bal --budget -W -Budget performance in 2018-01-01W01: +Budget performance in 2018-W01: - || 2018-01-01W01 + || W01 ===++================ a || 2 [3% of 70] b || 2 [2% of 100] diff --git a/hledger/test/cli/report-interval.test b/hledger/test/cli/report-interval.test index 11c1976cf..c9d3a910c 100644 --- a/hledger/test/cli/report-interval.test +++ b/hledger/test/cli/report-interval.test @@ -15,8 +15,8 @@ $ hledger -f- register --weekly --monthly # ** 2. $ hledger -f- register --monthly --weekly -2018-12-31W01 a 2 2 -2019-01-28W05 a 1 3 +2018-W01 a 2 2 +2019-W05 a 1 3 # ** 3. The last report interval option (--weekly) takes precedence, # including over a -p option. diff --git a/hledger/test/register/intervals.test b/hledger/test/register/intervals.test index 95374b87f..ed089cdc7 100644 --- a/hledger/test/register/intervals.test +++ b/hledger/test/register/intervals.test @@ -106,8 +106,8 @@ $ hledger -f- register -p 'weekly in 2014-02' -E # ** 9. So to see simple monday-based week periods here, you must specify a start date # that is a monday. $ hledger -f- register -p 'weekly from 2014-01-27 to 2014-03' -E -2014-01-27W05 explicit report period 10 10 -2014-02-03W06 0 10 -2014-02-10W07 0 10 -2014-02-17W08 0 10 -2014-02-24W09 expanded report period 100 110 +2014-W05 explicit report period 10 10 +2014-W06 0 10 +2014-W07 0 10 +2014-W08 0 10 +2014-W09 expanded report period 100 110