summaryrefslogtreecommitdiff
path: root/tests/test_directive_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_directive_code.py')
-rw-r--r--tests/test_directive_code.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py
index 3fa180e78..34e3e525c 100644
--- a/tests/test_directive_code.py
+++ b/tests/test_directive_code.py
@@ -356,6 +356,8 @@ def test_code_block_emphasize_latex(app, status, warning):
latex = (app.outdir / 'Python.tex').text(encoding='utf-8').replace('\r\n', '\n')
includes = '\\fvset{hllines={, 5, 6, 13, 14, 15, 24, 25, 26, 27,}}%\n'
assert includes in latex
+ includes = '\\end{sphinxVerbatim}\n\sphinxresetverbatimhllines\n'
+ assert includes in latex
@pytest.mark.sphinx('xml', testroot='directive-code')