aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test
Commit message (Collapse)AuthorAgeFilesLines
* Accept test casesAlec Theriault2018-08-211-1/+1
|
* Avoid line breaks due to line length in Hoogle (#868)Alec Theriault2018-07-202-0/+2
| | | | | | | | | | | | | | | * Avoid line breaks due to line length in Hoogle Hoogle operates in a line-oriented fashion, so we should avoid ever breaking due to long lines. One way of doing this non-intrusively is to modify the 'DynFlags' that are threaded through the 'Hoogle' module (note this is anyways only passed through for use in the various 'showSDoc' functions). * Amend test case (cherry picked from commit 657b1b3d519545f8d4ca048c06210d6cbf0f0da0)
* Export more fixities for Hoogle (#871)Alec Theriault2018-07-202-0/+29
| | | | | | | This exports fixities for more things, including class methods and type-level operators. (cherry picked from commit 88316b972e3d47197b1019111bae0f7f87275fce)
* Refactor handling of parens in types (#874)Alec Theriault2018-07-203-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | * Fix type parenthesization in Hoogle backend Ported the logic in the HTML and LaTeX backends for adding in parens into something top-level in 'GhcUtil'. Calling that from the Hoogle backend fixes #873. * Remove parenthesizing logic from LaTeX and XHTML backends Now, the only times that parenthesis in types are added in any backend is through the explicit 'HsParTy' constructor. Precedence is also represented as its own datatype. * List out cases explicitly vs. catch-all * Fix printing of parens for QuantifiedConstraints The priority of printing 'forall' types was just one too high. Fixes #877. * Accept HTML output for quantified contexts test
* Remove Hoogle backend hack that butchers infix datatype namesRyan Scott2018-06-132-0/+15
|
* Improve the Hoogle backend's treatment of type families (#808)Ryan Scott2018-04-242-0/+47
| | | Fixes parts 1 and 2 of #806.
* Add regression test for #413Ryan Scott2018-04-243-0/+22
| | | | Fixes #413.
* 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.
* hoogle-test/AssocTypes: Allow AmbiguousTypesBen Gamari2015-12-241-0/+1
| | | | GHC 8.0 complains otherwise
* Accept output for Hoogle and LaTeX backends.Łukasz Hanuszczak2015-08-244-0/+57
|
* Improve portability of test runner scripts.Łukasz Hanuszczak2015-08-221-2/+3
|
* Create simple test cases for Hoogle backend.Łukasz Hanuszczak2015-08-225-0/+72
|
* Add appropriate .gitignore entry and configure Hoogle test suite.Łukasz Hanuszczak2015-08-221-1/+5
|
* Setup test suite for Hoogle backend.Łukasz Hanuszczak2015-08-222-0/+32