test: Make sure --today is passed to --forecast tests so they keep

working.
This commit is contained in:
Stephen Morgan 2022-02-01 12:03:06 +11:00 committed by Simon Michael
parent 248ddf9378
commit 91441bad8f

View File

@ -19,12 +19,12 @@ account a
~ 2022-01-31 ~ 2022-01-31
a $1 a $1
b b
$ hledger -f- --forecast check accounts $ hledger -f- --today 2022-01-01 --forecast check accounts
>2 /undeclared account "b"/ >2 /undeclared account "b"/
>=1 >=1
# 4. also fails in --strict mode # 4. also fails in --strict mode
$ hledger -f- --forecast --strict bal $ hledger -f- --today 2022-01-01 --forecast --strict bal
>2 /undeclared account "b"/ >2 /undeclared account "b"/
>=1 >=1