Skip to content

NaN matching causes issues #217

Open

Description

@gampleman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions