summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Org/Inline.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Inline.hs b/test/Tests/Readers/Org/Inline.hs
index 2c01c4a82..b0c56faa4 100644
--- a/test/Tests/Readers/Org/Inline.hs
+++ b/test/Tests/Readers/Org/Inline.hs
@@ -393,6 +393,11 @@ tests =
, "{{{HELLO()}}}"
] =?>
para "Foo Bar"
+ , "Macro called with an escaped comma" =:
+ T.unlines [ "#+MACRO: HELLO Foo $1"
+ , "{{{HELLO(moin\\, niom)}}}"
+ ] =?>
+ para "Foo moin, niom"
, testGroup "Citations" Citation.tests
, testGroup "Footnotes" Note.tests