diff options
author | Jean-François B <jfbu@free.fr> | 2018-12-16 17:14:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 17:14:25 +0100 |
commit | e2431d80bd01ea4a8371d2af2ba392a0b1578f11 (patch) | |
tree | 99910ea26fc843509b52d3ce2fe39cf03f3f68e3 /tests/test_directive_code.py | |
parent | c899b27b4a659f95a20d80bf467f1e6d21ffb883 (diff) | |
parent | 88a019dc99eb1717bfd30b52cdd007808b376fca (diff) | |
download | sphinx-git-e2431d80bd01ea4a8371d2af2ba392a0b1578f11.tar.gz |
Merge pull request #5811 from jfbu/latex_fix_sphinxVerbatim_requires_hllines_markup
LaTeX: allow sphinxVerbatim usage without explicit "hllines" extra setup
Diffstat (limited to 'tests/test_directive_code.py')
-rw-r--r-- | tests/test_directive_code.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py index cb4a1ef22..ba8a60e1d 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') |