aboutsummaryrefslogtreecommitdiff
path: root/src/Tests/Old.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-07-22 22:09:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-07-22 22:09:15 -0700
commitd2cc56a46a5a3c657429e8df5b93c82f3f9ed9fb (patch)
tree7ebcea15a84f048197dbfb29867dc6b8346c91d5 /src/Tests/Old.hs
parented4039c3d7a77b4dbdb67e0463629a9ea563edd5 (diff)
downloadpandoc-d2cc56a46a5a3c657429e8df5b93c82f3f9ed9fb.tar.gz
Revised code for pipe tables.
* All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).
Diffstat (limited to 'src/Tests/Old.hs')
-rw-r--r--src/Tests/Old.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tests/Old.hs b/src/Tests/Old.hs
index 8a88e4034..e60f390df 100644
--- a/src/Tests/Old.hs
+++ b/src/Tests/Old.hs
@@ -56,8 +56,8 @@ tests = [ testGroup "markdown"
"testsuite.txt" "testsuite.native"
, test "tables" ["-r", "markdown", "-w", "native", "--columns=80"]
"tables.txt" "tables.native"
- , test "extratables" ["-r", "markdown", "-w", "native", "--columns=80"]
- "extra-tables.markdown" "extra-tables.native"
+ , test "pipe tables" ["-r", "markdown", "-w", "native", "--columns=80"]
+ "pipe-tables.txt" "pipe-tables.native"
, test "more" ["-r", "markdown", "-w", "native", "-S"]
"markdown-reader-more.txt" "markdown-reader-more.native"
, lhsReaderTest "markdown+lhs"