summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/root/markup.txt1
-rw-r--r--tests/test_build_html.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/root/markup.txt b/tests/root/markup.txt
index 1fb20cf0..39a8ebc0 100644
--- a/tests/root/markup.txt
+++ b/tests/root/markup.txt
@@ -139,6 +139,7 @@ Adding \n to test unescaping.
* :doc:`subdir/includes`
* ``:download:`` is tested in includes.txt
* :option:`Python -c option <python -c>`
+* This used to crash: :option:`Python c option`
Test :abbr:`abbr (abbreviation)` and another :abbr:`abbr (abbreviation)`.
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index d5b59e42..bd8c0730 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -42,6 +42,8 @@ http://www.python.org/logo.png
reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \
:encoding: option\\n?
%(root)s/includes.txt:4: WARNING: download file not readable: .*?nonexisting.png
+%(root)s/markup.txt:142: WARNING: Malformed :option: u'Python c option', does \
+not contain option marker - or -- or /
%(root)s/objects.txt:\\d*: WARNING: using old C markup; please migrate to \
new-style markup \(e.g. c:function instead of cfunction\), see \
http://sphinx-doc.org/domains.html