diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Writers/ConTeXt.hs | 2 | ||||
-rw-r--r-- | test/tables.context | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/Tests/Writers/ConTeXt.hs b/test/Tests/Writers/ConTeXt.hs index 5ce629674..678321519 100644 --- a/test/Tests/Writers/ConTeXt.hs +++ b/test/Tests/Writers/ConTeXt.hs @@ -92,7 +92,7 @@ tests = [ testGroup "inline code" plain $ text "3.3", plain $ text "3.4"]] in table caption aligns headers rows - =?> unlines [ "\\startplacetable[caption={Table 1}]" + =?> unlines [ "\\startplacetable[title={Table 1}]" , "\\startTABLE" , "\\startTABLEhead" , "\\NC[align=left] Right" diff --git a/test/tables.context b/test/tables.context index 89ff4a025..11dffc065 100644 --- a/test/tables.context +++ b/test/tables.context @@ -1,6 +1,6 @@ Simple table with caption: -\startplacetable[caption={Demonstration of simple table syntax.}] +\startplacetable[title={Demonstration of simple table syntax.}] \startxtable \startxtablehead[head] \startxrow @@ -74,7 +74,7 @@ Simple table without caption: Simple table indented two spaces: -\startplacetable[caption={Demonstration of simple table syntax.}] +\startplacetable[title={Demonstration of simple table syntax.}] \startxtable \startxtablehead[head] \startxrow @@ -111,7 +111,7 @@ Simple table indented two spaces: Multiline table with caption: -\startplacetable[caption={Here's the caption. It may span multiple lines.}] +\startplacetable[title={Here's the caption. It may span multiple lines.}] \startxtable \startxtablehead[head] \startxrow |