zio/zio-json

Golden tests don't work

sergeda opened this issue · 1 comments

When I run sbt "project zioJsonGolden" test on the branch series/2.x tests don't pass and return errors like:

- golden test for Int
    ✗ No existing golden test for /zio-json/zio-json-golden/src/test/resources/golden/Int.json. Remove _new from the suffix and re-run the test.

Here are the list of files generated:
golden_1st_run

Content of new and old files is the same:
golden_1st_run_compare

So, looks like tests ignoring existing files and generates new ones.

I opened PR to fix this