elm-explorations/test

NaN matching causes issues

gampleman opened this issue · 0 comments

NaN strikes again:

Given [NaN]

    Two lists were unequal previously, yet ended up equal later.This should never happen!Please report this bug to https://github.com/elm-community/elm-test/issues - and include these lists:
    NaN
    NaN
nan =
    0 / 0


test1 =
    Test.test "NaN" <|
        \_ ->
            Expect.equalLists [ nan ] [ nan ]

See #216 for some ideas how to fix.