Skip to content

Commit

Permalink
;dev: update tests for weekly headings change [#2204]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
simonmichael committed Jun 25, 2024
1 parent 831b463 commit a734ba5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions hledger/test/balance/budget.test
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions hledger/test/cli/report-interval.test
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions hledger/test/register/intervals.test
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a734ba5

Please sign in to comment.