aboutsummaryrefslogtreecommitdiff
path: root/test/test-pandoc.hs
AgeCommit message (Collapse)AuthorFilesLines
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2017-12-28PowerPoint writer: Introduce beginning of testsJesse Rosenthal1-0/+2
This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0.
2017-12-20Add Basic JATS reader based on DocBook readerHamish Mackenzie1-0/+2
2017-12-13fig, table-wrap & caption Divs for JATS writerHamish Mackenzie1-0/+2
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links.
2017-10-28Add new style FB2 testsAlexander Krotov1-0/+2
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane1-3/+3
2017-10-26Creole reader (#3994)Sascha Wilde1-0/+2
This is feature complete but not very thoroughly tested yet.
2017-06-19Add Muse reader (#3620)Alexander Krotov1-0/+2
2017-03-20Lua filters (#3514)Albert Krewinkel1-0/+2
* Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.
2017-03-14Use tasty for tests rather than test-framework.John MacFarlane1-6/+4
2017-03-10Add Muse writer (#3489)Alexander Krotov1-0/+2
* Add Muse writer * Advertise new Muse writer * Muse writer: add regressions tests
2017-03-04Stylish-haskell automatic formatting changes.John MacFarlane1-13/+13
2017-02-12Add Org writer unit testsAlexander Krotov1-0/+2
2017-02-04Added new test framework Tests.Command.John MacFarlane1-2/+2
Any files added under test/command will be treated as shell tests (see smart.md for an example). This makes it very easy to add regression tests etc.
2017-02-04Added skeleton for Tests.Command.John MacFarlane1-0/+2
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+65