elm-explorations / elm-explorations/test

Unconditional failing when Floats equality is asserted breaks Elm Verify Examples

Open
#88 9 comments 0 reactions 0 assignees View on GitHub
Design Question
Dominant language
Elm
Stars
244
Forks
40
Avg merge
1d 23h
Merged PRs (30d)
2

Description

https://github.com/elm-explorations/test/blob/f42d322fdb524289b7edf91c4e68028389d862bb/src/Expect.elm#L747-L748

This creates some problems with `elm-verify-examples`. See https://github.com/stoeffel/elm-verify-examples/issues/83. Perhaps there could be a command line switch or something like `Expect.strictlyEqual` to allow to do this kind of comparison.

For reference here is a discussion that introduced this feature: https://github.com/elm-community/elm-test/issues/230

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.