The tests are currently failing locally, indicating a potential problem with the timezone settings.
The specific test in question is TestMustToDate and its subtest TestDate. The error message suggests that the expected and actual times are not equal, with the main difference being the timezone offset (+0000 UTC vs +0200 CEST).
To Reproduce
Run the tests locally (offseting of UTC)
Observe the failure of the TestMustToDate test
Expected behavior
The tests should pass without any errors or failures.
### Version of software
v0.4.0
### Additional context
This issue is likely related to recent changes in the formatting codebase, which were triggered by running gofmt. Further investigation is needed to determine the root cause of this problem.
See: https://github.com/go-sprout/sprout/pull/38#issuecomment-2159949706
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Describe the bug
The tests are currently failing locally, indicating a potential problem with the timezone settings. The specific test in question is
TestMustToDate
and its subtestTestDate
. The error message suggests that the expected and actual times are not equal, with the main difference being the timezone offset (+0000 UTC vs +0200 CEST).To Reproduce
TestMustToDate
testExpected behavior
The tests should pass without any errors or failures.
Code Snippet