Closed konsumlamm closed 1 month ago
Hmm… it seems the doctests (more specifically the way the test suite is set up) are more generally broken. This works:
$ stack exec doctest src -- -XNoStarIsType
Examples: 181 Tried: 181 Errors: 0 Failures: 0
But using the test suite (stack test
) results in a lot of errors (not-in-scope errors indicating the modules under test are not being loaded…). Sorry, I haven't tried with cabal.
Maybe we need to rewrite tests/DocTest.hs
or the test-suite
in dimensional.cabal
according to latest best practices?
Superseded by #225. Thanks @konsumlamm for starting and @LaurentRDC for getting this done!
Unfortunately, the doctests don't work currently, but I have no idea why.