-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
Summary
stack test doesn't seem to rebuild test correctly.
Steps to reproduce
I've created a minimal repository to demonstrate this. It can be found at https://github.com/joncol/Broken.
The test as it is, is broken by design.
- Run command
stack build. - Run command
stack test. It should fail. - To fix the failing test, change line 19 of
src/Broken.hsto:mempty = BoolConj True - Run command
stack test.
Expected
The test should work.
Actual
No change, the test still fails. But when running stack clean followed by stack test, it succeeds.
Stack version
$ stack --version
Version 1.2.0 x86_64 hpack-0.14.0
Method of installation
Official binary, downloaded from stackage.org or fpcomplete's package repository