summaryrefslogtreecommitdiff
path: root/tests/test_util_rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util_rst.py')
-rw-r--r--tests/test_util_rst.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_util_rst.py b/tests/test_util_rst.py
index 406ea710e..07b9174cc 100644
--- a/tests/test_util_rst.py
+++ b/tests/test_util_rst.py
@@ -14,3 +14,5 @@ from sphinx.util.rst import escape
def test_escape():
assert escape(':ref:`id`') == r'\:ref\:\`id\`'
assert escape('footnote [#]_') == r'footnote \[\#\]\_'
+ assert escape('sphinx.application') == r'sphinx.application'
+ assert escape('.. toctree::') == r'\.. toctree\:\:'