exercism / exercism/haskell

Test suite gives misleading guideline for --match

Aperta
#859 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Haskell
Stelle
529
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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'`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.