aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-03-13 14:28:30 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-03-13 14:29:47 +0100
commit00e8d0678edac34af7a412642fbf7d85442b15aa (patch)
treebbc5033b5afdce7f9baa85c7699a389c934e8011 /test
parenta8aa301428752d96cdd58d7f4ecaa7d054f3505d (diff)
downloadpandoc-00e8d0678edac34af7a412642fbf7d85442b15aa.tar.gz
Jira reader: mark divs created from panels with class "panel".
Closes: tarleb/jira-wiki-markup#2
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Jira.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs
index 189b504f7..cb7dde4ea 100644
--- a/test/Tests/Readers/Jira.hs
+++ b/test/Tests/Readers/Jira.hs
@@ -96,6 +96,12 @@ tests =
simpleTable [para "Name"] [[para "Test"]]
]
+ , testGroup "panel"
+ [ "simple panel" =:
+ "{panel}\nInterviewer: Jane Doe{panel}\n" =?>
+ divWith ("", ["panel"], []) (para "Interviewer: Jane Doe")
+ ]
+
, testGroup "inlines"
[ "emphasis" =:
"*quid pro quo*" =?>