aboutsummaryrefslogtreecommitdiff
path: root/src/Tests/Readers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Tests/Readers')
-rw-r--r--src/Tests/Readers/LaTeX.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Tests/Readers/LaTeX.hs b/src/Tests/Readers/LaTeX.hs
index 6401fdba5..cb8ddefa6 100644
--- a/src/Tests/Readers/LaTeX.hs
+++ b/src/Tests/Readers/LaTeX.hs
@@ -41,6 +41,11 @@ tests = [ testGroup "basic"
header 1 ("text" <> space <> link "/url" "" "link")
]
+ , testGroup "math"
+ [ "escaped $" =:
+ "$x=\\$4" =?> para (math "x=\\$4")
+ ]
+
, testGroup "space and comments"
[ "blank lines + space at beginning" =:
"\n \n hi" =?> para "hi"