diff options
| author | tk0miya <i.tkomiya@gmail.com> | 2014-09-26 20:15:17 +0900 |
|---|---|---|
| committer | tk0miya <i.tkomiya@gmail.com> | 2014-09-26 20:15:17 +0900 |
| commit | 7c7a563426fa6ac1825e078d9980ff882cedce23 (patch) | |
| tree | 1eb0feb9fd2ed04586719ba00ed05cba0c85a5de /tests/test_directive_code.py | |
| parent | 07e52ff22dc63ceb110f25e9ea40bad227bcf260 (diff) | |
| download | sphinx-git-7c7a563426fa6ac1825e078d9980ff882cedce23.tar.gz | |
Fix by review comment
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 3f0a6d3f0..0c2cead62 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{caption \\emph{test} rb}' + caption = '\\caption{\ncaption \\emph{test} rb\n}' assert caption in latex @@ -107,5 +107,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{caption \\textbf{test} py}' + caption = '\\caption{\ncaption \\textbf{test} py\n}' assert caption in latex |
