mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;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.
This commit is contained in:
parent
831b4638cb
commit
a734ba5026
@ -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.
|
# ** 6. Budget goals with higher frequency than the report get added up appropriately.
|
||||||
$ hledger -f- bal --budget -W
|
$ 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]
|
a || 2 [3% of 70]
|
||||||
b || 2 [2% of 100]
|
b || 2 [2% of 100]
|
||||||
|
@ -15,8 +15,8 @@ $ hledger -f- register --weekly --monthly
|
|||||||
|
|
||||||
# ** 2.
|
# ** 2.
|
||||||
$ hledger -f- register --monthly --weekly
|
$ hledger -f- register --monthly --weekly
|
||||||
2018-12-31W01 a 2 2
|
2018-W01 a 2 2
|
||||||
2019-01-28W05 a 1 3
|
2019-W05 a 1 3
|
||||||
|
|
||||||
# ** 3. The last report interval option (--weekly) takes precedence,
|
# ** 3. The last report interval option (--weekly) takes precedence,
|
||||||
# including over a -p option.
|
# including over a -p option.
|
||||||
|
@ -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
|
# ** 9. So to see simple monday-based week periods here, you must specify a start date
|
||||||
# that is a monday.
|
# that is a monday.
|
||||||
$ hledger -f- register -p 'weekly from 2014-01-27 to 2014-03' -E
|
$ hledger -f- register -p 'weekly from 2014-01-27 to 2014-03' -E
|
||||||
2014-01-27W05 explicit report period 10 10
|
2014-W05 explicit report period 10 10
|
||||||
2014-02-03W06 0 10
|
2014-W06 0 10
|
||||||
2014-02-10W07 0 10
|
2014-W07 0 10
|
||||||
2014-02-17W08 0 10
|
2014-W08 0 10
|
||||||
2014-02-24W09 expanded report period 100 110
|
2014-W09 expanded report period 100 110
|
||||||
|
Loading…
Reference in New Issue
Block a user