diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-07-07 02:09:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 02:09:50 +0900 |
commit | 5e5bca98f752cb61c36afc7955183e79a6095cf2 (patch) | |
tree | 66fc9448a4bbab736469fdad514dfa970787d495 /tests/test_build_manpage.py | |
parent | 988a79de65737e403cd27721ce091760cf62b97f (diff) | |
parent | f0fef96906d80d89e290a780767a92ba85977733 (diff) | |
download | sphinx-git-5e5bca98f752cb61c36afc7955183e79a6095cf2.tar.gz |
Merge branch '4.x' into 6525_linkcheck_warn_redirects
Diffstat (limited to 'tests/test_build_manpage.py')
-rw-r--r-- | tests/test_build_manpage.py | 5 |
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 |