aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers/Txt2Tags.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-02-04Moved tests/ -> test/.John MacFarlane1-436/+0
2017-01-25Removed `--normalize` option and normalization functions from Shared.John MacFarlane1-1/+1
* Removed normalize, normalizeInlines, normalizeBlocks from Text.Pandoc.Shared. These shouldn't now be necessary, since normalization is handled automatically by the Builder monoid instance. * Remove `--normalize` command-line option. * Don't use normalize in tests. * A few revisions to readers so they work well without normalize.
2017-01-25Class: no more MonadState CommonState.John MacFarlane1-2/+2
- Added getCommonState, putCommonState, getsCommonState, modifyCommonState to PandocMonad interface. - Removed MonadState CommonState instances.
2017-01-25Make Txt2Tags test pass.Jesse Rosenthal1-4/+9
We don't have a good way to set things that aren't in the common state. That will be the next order of business.
2017-01-25Update all tests to use new readers and error structure.Jesse Rosenthal1-1/+3
2016-10-24Export Text.Pandoc.Error in Text.Pandoc.John MacFarlane1-1/+0
[API change]
2016-10-14Remove Tests.ArbitraryJesse Rosenthal1-1/+1
Use exported Arbitrary instances from pandoc-types instead.
2015-12-12Test fixes.John MacFarlane1-3/+3
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-02-18Update testsMatthew Pickering1-1/+2
2014-08-20Txt2Tags reader: Header is now parsed only if standalone flag is setmpickering1-1/+1
2014-07-27Txt2Tags Reader: Added testsMatthew Pickering1-0/+430