elm-explorations / test

Write unit and fuzz tests for Elm code.
https://package.elm-lang.org/packages/elm-explorations/test/latest
BSD 3-Clause "New" or "Revised" License
236 stars 40 forks source link

Fix an off-by-one error for {runs = ...} loop #189

Closed Janiczek closed 2 years ago

Janiczek commented 2 years ago

Before this fix elm-test ran the loop runs-1 times instead of runs times. So, eg. 99 times when {runs = 100} was specified.

Unfortunately I've had to rewrite all the hardcoded magic constants in the "golden test".