diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-11-28 02:00:26 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-11-30 22:44:13 +0900 |
| commit | 5a05cabd6acd7de3929b355a67ca76298f3baa27 (patch) | |
| tree | 6f7e3e7da7259e6ff696a751907c9dd65c9a46b3 /tests/test_intl.py | |
| parent | cf37af27cfef1b620d7d3cd981184ddaedc4922a (diff) | |
| download | sphinx-git-5a05cabd6acd7de3929b355a67ca76298f3baa27.tar.gz | |
Fix #6867: text: extra spaces are inserted to hyphenated words on folding lines
Diffstat (limited to 'tests/test_intl.py')
| -rw-r--r-- | tests/test_intl.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py index a6bd17512..080ee9221 100644 --- a/tests/test_intl.py +++ b/tests/test_intl.py @@ -315,7 +315,8 @@ def test_text_seealso(app): "\n*********************\n" "\nSee also: SHORT TEXT 1\n" "\nSee also: LONG TEXT 1\n" - "\nSee also: SHORT TEXT 2\n" + "\nSee also:\n" + "\n SHORT TEXT 2\n" "\n LONG TEXT 2\n") assert result == expect @@ -356,7 +357,9 @@ def test_text_figure_captions(app): "14.4. IMAGE UNDER NOTE\n" "======================\n" "\n" - "Note: [image: i18n under note][image]\n" + "Note:\n" + "\n" + " [image: i18n under note][image]\n" "\n" " [image: img under note][image]\n") assert result == expect |
