Closed ldicarlo closed 2 months ago
It's likely due to https://github.com/haskus/packages/commit/59bf718e5dd1d8ca63046ded07e90e53f659d562
I guess the output now depends on the version of haskus-utils-types used.
Do you mean that we cannot fix it?
Locally, tests won't pass when running stack test
.
Is it expected to be different for others distributions ?
If we can fix it to use the newer message, let's do it. It has been stable for several years already now.
If it's not possible I don't mind if we disable this test and convert it into unchecked documentation instead.
I tried to do it but I need some guidance.
I have a lot of doctests failing siren running stsck test
and using import does not always work.
Can you tell me how we should do?
I've tested with the old stack.yaml
and it passes.
stack --stack-yaml stack-8.10.yaml test haskus-utils-variant
I've tried with different compilers:
lts-20.11 (ghc-9.2.5): fail with the error you get
I've pushed a fix. Strangely enough, it still passes with 8.10 while I expected it to break.
I've fixed the testsuite and the doctests now pass (cf CI here)
Currently this package prevent people from running ghcup on nixos.
I think the error message expected in DocTests changed.
I am trying to prepare a PR.