summaryrefslogtreecommitdiff
path: root/tests/test_build_manpage.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_manpage.py')
-rw-r--r--tests/test_build_manpage.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_build_manpage.py b/tests/test_build_manpage.py
index 0b7ce2396..3680d8651 100644
--- a/tests/test_build_manpage.py
+++ b/tests/test_build_manpage.py
@@ -27,6 +27,11 @@ def test_all(app, status, warning):
assert '\n.B term1\n' in content
assert '\nterm2 (\\fBstronged partially\\fP)\n' in content
+ # test samp with braces
+ assert '\n\\fIvariable_only\\fP\n' in content
+ assert '\n\\fIvariable\\fP\\fB and text\\fP\n' in content
+ assert '\n\\fBShow \\fP\\fIvariable\\fP\\fB in the middle\\fP\n' in content
+
assert 'Footnotes' not in content