exercism / exercism/haskell

Test suite gives misleading guideline for --match

Open
#859 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
529
Forks
201
PR merge metrics
No merged PRs in 30d

Description

When `stack test` fails, a part of its output is:

```
Failures:

test/Tests.hs:20:23:
1) isLeapYear 1996 - year divisible by 4, not divisible by 100: leap year
expected: True
but got: False

To rerun use: --match "/isLeapYear/1996 - year divisible by 4, not divisible by 100: leap year/"

Randomized with seed 625767475
```

The hint to use `--match ...` has two flaws:
- This must be done via `stack test --ta '--match ...'`
- It should be enough to do `stack test --ta '--match 1996'`

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.