elm-explorations / elm-explorations/test

fuzz floatRange throws "RangeError: Maximum call stack size exceeded"

Open
#142 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
244
Forks
40
Avg merge
1d 23h
Merged PRs (30d)
2

Description

Following test gives error
> This test failed because it threw an exception: "RangeError: Maximum call stack size exceeded"

```
fuzz (Fuzz.floatRange (2.0 ^ 40.0) (2.0 ^ 50.0)) "This will fail" <|
\x -> Expect.fail "Fail"
```
I noticed there are few issues like this, but none seemed relevant as I'm only generating single random value here, so no use of e.g. `andThen` or `fuzz2`.

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.