AsciiDoc writer: Added test for empty table cells.

This commit is contained in:
John MacFarlane 2014-05-03 21:24:20 -07:00
parent fde52c25a6
commit 41c89d51c7
3 changed files with 7 additions and 7 deletions

View file

@ -392,6 +392,7 @@ Test-Suite test-pandoc
Tests.Writers.ConTeXt
Tests.Writers.HTML
Tests.Writers.Markdown
Tests.Writers.AsciiDoc
Tests.Writers.LaTeX
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98

View file

@ -52,20 +52,17 @@ Multiline table without caption:
Table without column headers:
[cols=">,<,^,>",]
|=============================================================================
|==================
|12 |12 |12 |12
|123 |123 |123 |123
|1 |1 |1 |1
|=============================================================================
|==================
Multiline table without column headers:
[width="78%",cols="^21%,<17%,>20%,42%",]
|=============================================================================
|=======================================================================
|First |row |12.0 |Example of a row that spans multiple lines.
|Second |row |5.0 |Here's another one. Note the blank line between rows.
|=============================================================================
|=======================================================================

View file

@ -15,6 +15,7 @@ import qualified Tests.Writers.HTML
import qualified Tests.Writers.Docbook
import qualified Tests.Writers.Native
import qualified Tests.Writers.Markdown
import qualified Tests.Writers.AsciiDoc
import qualified Tests.Shared
import qualified Tests.Walk
import Text.Pandoc.Shared (inDirectory)
@ -30,6 +31,7 @@ tests = [ testGroup "Old" Tests.Old.tests
, testGroup "HTML" Tests.Writers.HTML.tests
, testGroup "Docbook" Tests.Writers.Docbook.tests
, testGroup "Markdown" Tests.Writers.Markdown.tests
, testGroup "AsciiDoc" Tests.Writers.AsciiDoc.tests
]
, testGroup "Readers"
[ testGroup "LaTeX" Tests.Readers.LaTeX.tests