aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/DokuWiki.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Readers/DokuWiki.hs')
-rw-r--r--test/Tests/Readers/DokuWiki.hs18
1 files changed, 11 insertions, 7 deletions
diff --git a/test/Tests/Readers/DokuWiki.hs b/test/Tests/Readers/DokuWiki.hs
index 52b4764a5..d812c215f 100644
--- a/test/Tests/Readers/DokuWiki.hs
+++ b/test/Tests/Readers/DokuWiki.hs
@@ -296,7 +296,7 @@ tests = [ testGroup "inlines"
T.unlines [ "| foo | bar |"
, "| bat | baz |"
] =?>
- table mempty [(AlignDefault, Nothing), (AlignDefault, Nothing)]
+ table mempty [(AlignDefault, ColWidthDefault), (AlignDefault, ColWidthDefault)]
[]
[[plain "foo", plain "bar"]
,[plain "bat", plain "baz"]]
@@ -304,7 +304,7 @@ tests = [ testGroup "inlines"
T.unlines [ "^ foo ^ bar ^"
, "| bat | baz |"
] =?>
- table mempty [(AlignDefault, Nothing), (AlignDefault, Nothing)]
+ table mempty [(AlignDefault, ColWidthDefault), (AlignDefault, ColWidthDefault)]
[plain "foo", plain "bar"]
[[plain "bat", plain "baz"]]
, "Table with colspan" =:
@@ -312,11 +312,15 @@ tests = [ testGroup "inlines"
, "| 1,0 | 1,1 ||"
, "| 2,0 | 2,1 | 2,2 |"
] =?>
- table mempty [(AlignDefault, Nothing), (AlignDefault, Nothing), (AlignDefault, Nothing)]
- [plain "0,0", plain "0,1", plain "0,2"]
- [[plain "1,0", plain "1,1", mempty]
- ,[plain "2,0", plain "2,1", plain "2,2"]
- ]
+ table
+ mempty
+ [(AlignDefault, ColWidthDefault)
+ ,(AlignDefault, ColWidthDefault)
+ ,(AlignDefault, ColWidthDefault)]
+ [plain "0,0", plain "0,1", plain "0,2"]
+ [[plain "1,0", plain "1,1", mempty]
+ ,[plain "2,0", plain "2,1", plain "2,2"]
+ ]
, "Indented code block" =:
T.unlines [ "foo"
, " bar"