bjornbm / dimensional

Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+).
BSD 3-Clause "New" or "Revised" License
102 stars 15 forks source link

test-suite doctests bitrot? #220

Open bjornbm opened 2 years ago

bjornbm commented 2 years ago

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…). I haven't tried with cabal, but it fails there too (#218).

Maybe we need to rewrite tests/DocTest.hs or the test-suite in dimensional.cabal according to latest best practices?