diff options
| author | Jeppe Pihl <jpihl08@gmail.com> | 2014-10-06 10:35:33 +0200 |
|---|---|---|
| committer | Jeppe Pihl <jpihl08@gmail.com> | 2014-10-06 10:35:33 +0200 |
| commit | a3745cfb5e07001f8aaf11cf9f7334304f29bd62 (patch) | |
| tree | 2ce09422e261f3e9b2e466cd0df97b298bca3a34 /tests/test_directive_code.py | |
| parent | dc3d0b6ca13f26e4ca10d3d48a86c3c8f7dc38ec (diff) | |
| parent | b6b6f8ad7914e7e521945ca4ce007f0a5bbd7b43 (diff) | |
| download | sphinx-git-a3745cfb5e07001f8aaf11cf9f7334304f29bd62.tar.gz | |
merge
Diffstat (limited to 'tests/test_directive_code.py')
| -rw-r--r-- | tests/test_directive_code.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_directive_code.py b/tests/test_directive_code.py index 0dc8419ac..c4fb829d2 100644 --- a/tests/test_directive_code.py +++ b/tests/test_directive_code.py @@ -61,7 +61,7 @@ def test_code_block_caption_html(app, status, warning): def test_code_block_caption_latex(app, status, warning): app.builder.build_all() latex = (app.outdir / 'Python.tex').text() - caption = '\\caption{\ncaption \\emph{test} rb\n}' + caption = '\\caption{caption \\emph{test} rb}' assert caption in latex @@ -183,5 +183,5 @@ def test_literalinclude_caption_html(app, status, warning): def test_literalinclude_caption_latex(app, status, warning): app.builder.build('index') latex = (app.outdir / 'Python.tex').text() - caption = '\\caption{\ncaption \\textbf{test} py\n}' + caption = '\\caption{caption \\textbf{test} py}' assert caption in latex |
