aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
AgeCommit message (Collapse)AuthorFilesLines
2012-10-28Removed citationSuppressParens.John MacFarlane1-1/+1
Makefile: Use citeproc-0.3.6 release.
2012-10-22LaTeX reader: Initialize citationSuppressParens field.John MacFarlane1-1/+2
2012-10-21Revert "LaTeX reader: Use new suppressParens option for footnote citations."John MacFarlane1-7/+6
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs
2012-10-15LaTeX reader: Use new suppressParens option for footnote citations.John MacFarlane1-6/+7
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation.
2012-09-22Markdown reader: Fixed link parser to avoid exponential slowdowns.John MacFarlane1-0/+2
Previously the parser would hang on input like this: [[[[[[[[[[[[[[[[[[hi We fixed this by making the link parser parser characters between balanced brackets (skipping brackets in inline code spans), then parsing the result as an inline list. One change is that [hi *there]* bud](/url) is now no longer parsed as a link. But in this respect pandoc behaved differently from most other implementations anyway, so that seems okay. All current tests pass. Added test for this case. Closes #620.
2012-09-22LaTeX reader: Added a 'try' in rawLaTeXBlock.John MacFarlane1-0/+4
This allows the markdown reader to treat '\begin' (not followed by an argument) as a raw string rather than erroring out when it doesn't find a '{'. Closes #622.
2012-08-08Changes to literate haskell options.John MacFarlane1-1/+3
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-1/+1
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane3-0/+336
2011-01-29Moved tests to src.John MacFarlane3-227/+0
2011-01-29Added biblatex citation tests to Tests.Readers.LaTeX.John MacFarlane1-2/+45
Removed old biblatex-citations.latex.
2011-01-29Added natbib citation tests to Tests.Readers.LaTeX.John MacFarlane1-0/+65
Removed old tests/natbib-citations.latex.
2011-01-26Added Tests.Readers.Markdown.John MacFarlane1-0/+29
2011-01-26RST reader: Improved field lists.John MacFarlane1-11/+11
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title.
2011-01-26Added RST reader tests.John MacFarlane1-0/+46
2011-01-22Removed deliberate error in LaTeX reader tests.John MacFarlane1-1/+1
2011-01-22Fixed -Wall error in imports.John MacFarlane1-1/+1
2011-01-22Added 'property' in Tests.Helpers & some quickcheck tests.John MacFarlane1-0/+1
2011-01-22Improved test framework.John MacFarlane1-13/+18
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings.
2011-01-20Fixed the two test cases that were intentionally set to fail.John MacFarlane1-2/+2
2011-01-19Unit tests: On failure, print the input string.John MacFarlane1-2/+2
2011-01-18Added normalize in latex reader tests.John MacFarlane1-1/+2
2011-01-18Revamped tests with new =: and =?> operators + builder.John MacFarlane1-22/+23
Left in a couple failing tests for demonstration purposes.
2011-01-13Adjusted source to 80-column limit.John MacFarlane1-25/+26
2011-01-13Moved Tests.Shared -> Tests.Helpers.John MacFarlane1-1/+1
Tests.Shared would be the natural place to put tests for functions in Text.Pandoc.Shared.
2011-01-12Reordered test files.Nathan Gass1-0/+35