aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Org
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Readers/Org')
-rw-r--r--test/Tests/Readers/Org/Directive.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org/Directive.hs b/test/Tests/Readers/Org/Directive.hs
index 6d3c1ac52..e92b1bbb9 100644
--- a/test/Tests/Readers/Org/Directive.hs
+++ b/test/Tests/Readers/Org/Directive.hs
@@ -156,6 +156,22 @@ tests =
] =?>
para "Icelandic letter: \\thorn"
+ , testGroup "Option f"
+ [ "disable inline footnotes" =:
+ T.unlines [ "#+OPTIONS: f:nil"
+ , "Funny![fn:funny:or not]"
+ ] =?>
+ para "Funny!"
+
+ , "disable reference footnotes" =:
+ T.unlines [ "#+OPTIONS: f:nil"
+ , "Burn everything[fn:1] down!"
+ , ""
+ , "[fn:2] Not quite everything."
+ ] =?>
+ para "Burn everything down!"
+ ]
+
, "disable inclusion of todo keywords" =:
T.unlines [ "#+OPTIONS: todo:nil"
, "** DONE todo export"