mirror of
https://github.com/byteverse/colonnade.git
synced 2024-08-16 02:00:30 +03:00
Generic types and functions for encoding and decoding columns
New versions of GHC have become smarter about preserving type synonyms in type signatures displayed to the user. In colonnade, there are several instances where GHC used to report [Char], and it now reports String. The doctests have been updated to pass on newer versions of GHC. They will now fail on older versions of GHC though. |
||
---|---|---|
blaze-colonnade | ||
colonnade | ||
geolite-csv | ||
lucid-colonnade | ||
projects | ||
reflex-dom-colonnade | ||
siphon | ||
yesod-colonnade | ||
.gitignore | ||
build | ||
cabal.project | ||
README.md |
Most of the tests use doctest, which isn't run like a normal test suite (I guess).
To run these tests, first make sure doctest
is on the PATH
(i.e. cabal install doctest
), then run the following commands:
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" siphon
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" colonnade
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" blaze-colonnade
There are no tests for lucid-colonnade at present.