aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-06-22 17:55:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-06-22 17:55:57 -0700
commitb1561d8e470a4b9ecc681d4749093fa14cb1bd37 (patch)
tree8cb2e08c80c99f8d3a2b45cb20fb79a4c12106ab /test
parent25326986dbb802692fd431f6c6627fde3604ccb7 (diff)
downloadpandoc-b1561d8e470a4b9ecc681d4749093fa14cb1bd37.tar.gz
Use native Underline instead of Span in Jira
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Jira.hs2
-rw-r--r--test/Tests/Writers/Jira.hs3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs
index 30f55585b..32b8ecb7c 100644
--- a/test/Tests/Readers/Jira.hs
+++ b/test/Tests/Readers/Jira.hs
@@ -172,7 +172,7 @@ tests =
, "inserted text" =:
"+the new version+" =?>
- para (spanWith ("", ["underline"], []) "the new version")
+ para (underline "the new version")
, "HTML entity" =:
"me &amp; you" =?> para "me & you"
diff --git a/test/Tests/Writers/Jira.hs b/test/Tests/Writers/Jira.hs
index 57ed27360..93d830c94 100644
--- a/test/Tests/Writers/Jira.hs
+++ b/test/Tests/Writers/Jira.hs
@@ -20,8 +20,7 @@ tests :: [TestTree]
tests =
[ testGroup "inlines"
[ "underlined text" =:
- spanWith ("ignored", ["ignored", "underline"], [("foo", "bar")])
- "underlined text" =?>
+ underline "underlined text" =?>
"+underlined text+"
, "image with attributes" =: