aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Shared.hs
AgeCommit message (Collapse)AuthorFilesLines
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-1/+0
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-0/+1
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-10-14Use custom Prelude to avoid compiler warnings.John MacFarlane1-1/+0
- 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.
2015-09-26MediaBag: ensure that / is always used as path separator.John MacFarlane1-1/+1
2014-09-25Shared: Make collapseFilePath OS-agnosticmpickering1-18/+19
2014-08-08Added tests for collapseFilePathMatthew Pickering1-1/+23
2014-07-25Fixed runtime error with compactify'DL on certain lists.John MacFarlane1-0/+10
Closes #1452. Added test.
2014-06-29Rewrote normalize for efficiency. (Closes #1385.)John MacFarlane1-3/+5
* 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`.
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+26
2011-01-29Moved tests to src.John MacFarlane1-21/+0
2011-01-29Added Tests.Shared with normalize round-trip tests.John MacFarlane1-0/+21