json-schema icon indicating copy to clipboard operation
json-schema copied to clipboard

Update to Elm 0.19.1; fix tests

Open bitterjug opened this issue 4 years ago • 0 comments

A few tests were not running when I updated to Elm 0.19.1. I didn't check if they were also broken in the previous version. I was mainly changing how Encode.list works I think. There were two tests that depend on comparing Json.Encode.Value which now show as and cannot be compared. I have commented these out, maybe you can think of a way to rewrite them, I have not yet given that much thought.

In addition my editor shows me elm-analyse errors, so I removed some code (and a few debug log comments) and rewrote a couple of bits to silence those warnings. One remaining error is for ValidationOptions which has only one boolean value, analyse wants to get rid of the object but I left it in.

bitterjug avatar Apr 28 '21 13:04 bitterjug