summaryrefslogtreecommitdiff
path: root/tests/Tests/Shared.hs
Commit message (Collapse)AuthorAge
* Remove Tests.ArbitraryJesse Rosenthal2016-10-14
| | | | Use exported Arbitrary instances from pandoc-types instead.
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Use custom Prelude to avoid compiler warnings.John MacFarlane2015-10-14
| | | | | | | | | | | | | - The (non-exported) prelude is in prelude/Prelude.hs. - It exports Monoid and Applicative, like base 4.8 prelude, but works with older base versions. - It exports (<>) for mappend. - It hides 'catch' on older base versions. This allows us to remove many imports of Data.Monoid and Control.Applicative, and remove Text.Pandoc.Compat.Monoid. It should allow us to use -Wall again for ghc 7.10.
* MediaBag: ensure that / is always used as path separator.John MacFarlane2015-09-26
|
* Shared: Make collapseFilePath OS-agnosticmpickering2014-09-25
|
* Added tests for collapseFilePathMatthew Pickering2014-08-08
|
* Fixed runtime error with compactify'DL on certain lists.John MacFarlane2014-07-25
| | | | Closes #1452. Added test.
* Rewrote normalize for efficiency. (Closes #1385.)John MacFarlane2014-06-29
| | | | | | | | * Added normalizeInlines, normalizeBlocks. * Type signature is now more narrow, `Pandoc -> Pandoc` instead of `Data a :: a -> a`. Some users may need to change their uses of `normalize` to the newly exported `normalizeInlines` or `normalizeBlocks`.
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Moved tests to src.John MacFarlane2011-01-29
|
* Added Tests.Shared with normalize round-trip tests.John MacFarlane2011-01-29