aboutsummaryrefslogtreecommitdiff
path: root/latex-test
Commit message (Collapse)AuthorAgeFilesLines
* Better support for default methods in classesAlec Theriault2019-03-094-0/+128
| | | | | | | | | | * default methods now get rendered differently * default associated types get rendered * fix a forgotten `s/TypeSig/ClassOpSig/` refactor in LaTeX backend * LaTeX backend now renders default method signatures NB: there is still no way to document default class members and the NB: LaTeX backend still crashes on associated types
* Support value/type namespaces on identifier linksAlec Theriault2019-02-254-0/+122
| | | | | | | | | | | Identifier links can be prefixed with a 'v' or 't' to indicate the value or type namespace of the desired identifier. For example: -- | Some link to a value: v'Data.Functor.Identity' -- -- Some link to a type: t'Data.Functor.Identity' The default is still the type (with a warning about the ambiguity)
* Accept test casesAlec Theriault2018-08-213-0/+104
|
* Better rendering of unboxed sums/tuplesAlec Theriault2018-08-211-0/+18
| | | | | * adds space after/before the '#' marks * properly reify 'HsSumTy' in 'synifyType'
* Latex type families (#734)Alec Theriault2018-08-044-0/+133
| | | | | | | | | | | | | | | | | | | | * Support for type families in LaTeX The code is ported over from the XHTML backend. * Refactor XHTML and LaTeX family handling This is mostly a consolidation effort: stripping extra exports, inlining some short definitions, and trying to make the backends match. The LaTeX backend now has preliminary support for data families, although the only the data instance head is printed (not the actual constructors). Both backends also now use "newtype" for newtype data family instances. * Add some tests
* Misc tests (#858)Alec Theriault2018-07-208-0/+299
| | | | | | | | | | | | * More tests * spliced types * constructor/pattern argument docs * strictness marks on fields with argument docs * latex test cases need seperate directory * Accept tests
* Fix test failures on Windows (#564)Yuji Yamamoto2017-07-031-1/+3
| | | | | | | | | | * Ignore .stack-work * Fix for windows: use nul instead of /dev/null * Fix for windows: canonicalize line separator * Also normalize osx line endings
* testsuite: Rework handling of output sanitizationBen Gamari2016-02-081-1/+2
| | | | | | | | | Previously un-cleaned artifacts were kept as reference output, making it difficult to tell what has changed and causing spurious changes in the version control history. Here we rework this, cleaning the output during acceptance. To accomplish this it was necessary to move to strict I/O to ensure the reference handle was closed before accept attempts to open the reference file.
* Get rid of obsolete testing utilities.Łukasz Hanuszczak2015-08-242-208/+0
|
* Accept output for Hoogle and LaTeX backends.Łukasz Hanuszczak2015-08-241-2/+1
|
* Improve portability of test runner scripts.Łukasz Hanuszczak2015-08-221-2/+3
|
* Create test runner entry points for LaTeX test suite.Łukasz Hanuszczak2015-08-222-0/+32
|
* solve dataDir ambiguityjpmoresmau2015-01-221-1/+1
|
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-1/+1
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* Revert "Disambiguate ‘die’ in test runners."Mateusz Kowalczyk2014-08-141-1/+1
| | | | This reverts commit dba02d6df32534aac5d257f2d28596238d248942.
* Disambiguate ‘die’ in test runners.Mateusz Kowalczyk2014-05-031-1/+1
|
* LaTeX tests setupMateusz Kowalczyk2013-08-276-0/+298