Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN matching causes issues #217

Open
gampleman opened this issue May 24, 2023 · 0 comments
Open

NaN matching causes issues #217

gampleman opened this issue May 24, 2023 · 0 comments

Comments

@gampleman
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant