Skip to content

Conversation

@konsumlamm
Copy link
Contributor

Unfortunately, the doctests don't work currently, but I have no idea why.

@bjornbm
Copy link
Owner

bjornbm commented Jun 6, 2022

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?

@bjornbm
Copy link
Owner

bjornbm commented Aug 21, 2024

Superseded by #225. Thanks @konsumlamm for starting and @LaurentRDC for getting this done!

@bjornbm bjornbm closed this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants