AndrewRademacher / aeson-casing

Tools to change the formatting of field names in Aeson instances.
MIT License
16 stars 3 forks source link

Tests fail with unordered-containers 0.2.16.0 #8

Open sternenseemann opened 2 years ago

sternenseemann commented 2 years ago

Tests seem to depend on ordering ultimately coming from unordered-containers and thus unstable.

Running 1 test suites...
Test suite casing: RUNNING...
Tests
  Data.Aeson.Casing.Test
    snake:        OK
    camel:        OK
    pascal:       OK
    train:        OK
    prefix:       OK
    encode snake: OK
    decode snake: OK
    encode train: FAIL
      test/Data/Aeson/Casing/Test.hs:82:
      expected: "{\"first-name\":\"Toffee\",\"breed-name\":\"Persian Cat\"}"
       but got: "{\"breed-name\":\"Persian Cat\",\"first-name\":\"Toffee\"}"
      Use -p '/encode train/' to rerun this test only.
    decode train: OK

1 out of 9 tests failed (0.00s)
Test suite casing: FAIL
Test suite logged to: dist/test/aeson-casing-0.2.0.0-casing.log