Closed andig closed 2 months ago
I‘ll fix the tests
Hey, thanks for your time, dont hesitate to request review when you need !
@42atomys please take a look. Formatting change due to gofmt
.
Worth noting that all tests are failing locally:
--- FAIL: TestMustToDate (0.00s)
--- FAIL: TestMustToDate/TestDate (0.00s)
conversion_functions_test.go:143:
Error Trace: /Users/andig/htdocs/sprout/test_helpers_test.go:57
Error: Not equal:
expected: "time.Time-2024-05-09 00:00:00 +0000 UTC"
actual : "time.Time-2024-05-09 00:00:00 +0200 CEST"
Seems that the tests are not stable regarding time zone? Makes it hard to pick up the actual errors.
All modified and coverable lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
encoding_functions.go | 96.9% <100.0%> (-3.1%) |
:arrow_down: |
@andig I will takes a look to resolve the time zone leaking 💧 by opening an issue to track that (https://github.com/go-sprout/sprout/issues/41)
Description
Noticed that k8s suddenly appeared in my dependencies. Since this only adds yaml2json features it's not necessary here.
Changes
Checklist
Additional Information
Follow-up to https://github.com/go-sprout/sprout/pull/36