John MacFarlane
daeb52d4e0
Eliminated use of TH in test suite.
2013-01-23 19:26:39 -08:00
John MacFarlane
70e308f2f9
Escape |
as \vert
in LaTeX math.
...
This avoids a clash with highlighting-kate's macros, which
redefine | as a short verbatim delimiter. Thanks to
Björn Peemöller for raising this issue.
2013-01-12 10:21:19 -08:00
John MacFarlane
d599c4cdab
Added Attr field to Header.
...
Previously header ids were autogenerated by the writers.
Now they are generated (unless supplied explicitly) in the
markdown parser, if the `header_identifiers` extension is
selected.
In addition, the textile reader now supports id attributes on
headers.
2013-01-09 09:30:05 -08:00
John MacFarlane
8ff81dc9ca
Updated tests for tight/loose lists.
...
Taking into account new context/latex output, and fixing
some bugs in the test suite Tests.Helpers and Tests.Writers.ConTeXt.
(We had the wrong order of expected/actual in the diff output.)
2013-01-07 20:58:49 -08:00
John MacFarlane
00dc1e715e
Moved WriterOptions and associated types Shared -> Options.
2012-07-26 22:59:56 -07:00
John MacFarlane
45e4c123a4
Moved tests to tests/, modified cabal file so lib isn't recompiled.
2012-07-26 08:37:36 -07:00
John MacFarlane
570d8ff08c
Moved tests to src.
2011-01-29 11:24:16 -08:00
John MacFarlane
e9899b9ab8
Removed intentionally failing test in ConTeXt writer tests.
2011-01-29 09:04:05 -08:00
John MacFarlane
c5384a33c0
Updates for compiling with ghc 7.
...
We now use a CPP trick to have compatible quasiquotes that
work in both GHC 6.12 and 7.
2011-01-26 17:23:56 -08:00
John MacFarlane
87aaa7e719
Use ANSI color to point to diffs in test output.
...
ConTeXt writer bullet list test set to break as an example.
2011-01-22 14:58:32 -08:00
John MacFarlane
373d05601a
Added native writer tests.
2011-01-22 12:37:19 -08:00
John MacFarlane
209b300d6a
Added 'property' in Tests.Helpers & some quickcheck tests.
2011-01-22 12:18:59 -08:00
John MacFarlane
15250859c3
Improved test framework.
...
Now there is a uniform interface for reader and writer tests.
Also added a quasiquoter, for multiline strings.
2011-01-22 10:50:15 -08:00
John MacFarlane
d43dbc83f2
More informative output on writer test failure.
2011-01-21 11:02:59 -08:00
John MacFarlane
d0726920db
Added Tests.Writers.ConTeXt and helpers for writer tests.
2011-01-21 10:23:41 -08:00