我用这个链接创建了一个非常简单的项目,但测试套件失败了。
现在,当我运行stack --test --no-run-tests build
时,我希望它只构建项目而不运行测试。但是,实际上它仍然运行测试:
➜ noruntests-play git:(master) stack --test --no-run-tests build
noruntests-play-0.1.0.0: test (suite: test)
test: error
CallStack (from HasCallStack):
error, called at tests/Tests.hs:4:8 in main:Main
Test suite failure for package noruntests-play-0.1.0.0
test: exited with: ExitFailure 1
Logs printed to console
我在这里做错了什么?谢谢!