aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Test.hs
Commit message (Collapse)AuthorAgeFilesLines
* html-test: Always set languageJoachim Breitner2021-02-221-0/+1
| | | | | | | | | | from ghc-9.2 on, the “default” langauge of GHC is expected to change more wildly. To prepare for that (and unblock https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the language for all the test files to `Haskell2010`. This should insolate this test suite against changes to the default. Cherry-picked from https://github.com/haskell/haddock/pull/1341
* Display minimal complete definitions for type classesNiklas Haas2014-03-131-0/+1
| | | | | | | | | This corresponds to the new {-# MINIMAL #-} pragma present in GHC 7.8+. I also cleaned up some of the places in which ExportDecl is used to make adding fields easier in the future. Lots of test cases have been updated since they now render with minimality information.
* Don't append newline to parseString inputSimon Hengel2014-01-121-26/+26
| | | | We also check that we have parsed everything with endOfInput.
* Move source files for HTML tests to html-test/srcSimon Hengel2012-10-151-0/+422