diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2020-02-17 11:55:38 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2020-02-17 11:55:38 +0000 |
| commit | 4c3ada8a4e19b0600a2ea7709f7079037daa8e52 (patch) | |
| tree | 22f1b32912f9a4a72e6f2ba081ce36382c56818c /docutils/test | |
| parent | 01fbcdbd930a1e35597bacd76d9a0aa456e9d346 (diff) | |
| download | docutils-4c3ada8a4e19b0600a2ea7709f7079037daa8e52.tar.gz | |
Fix #126 manpage title with spaces
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8494 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
| -rw-r--r-- | docutils/test/functional/expected/standalone_rst_manpage.man | 2 | ||||
| -rw-r--r-- | docutils/test/test_writers/test_manpage.py | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_manpage.man b/docutils/test/functional/expected/standalone_rst_manpage.man index 4bf8d28c3..7a51314d8 100644 --- a/docutils/test/functional/expected/standalone_rst_manpage.man +++ b/docutils/test/functional/expected/standalone_rst_manpage.man @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH RST2MAN 1 "2006-10-22" "0.1" "text processing" +.TH "RST2MAN" 1 "2006-10-22" "0.1" "text processing" .SH NAME rst2man \- generate unix manpages from reStructured text . diff --git a/docutils/test/test_writers/test_manpage.py b/docutils/test/test_writers/test_manpage.py index 53b42cc6f..6567b7a1d 100644 --- a/docutils/test/test_writers/test_manpage.py +++ b/docutils/test/test_writers/test_manpage.py @@ -55,7 +55,7 @@ totest['blank'] = [ ["", r""".\" Man page generated from reStructuredText. . -.TH "" "" "" +.TH "" "" "" "" .SH NAME \- """+indend_macros+ @@ -71,7 +71,7 @@ r""".\" Generated by docutils manpage writer. """, r""".\" Man page generated from reStructuredText. . -.TH HELLO, WORLD. "" "" "" +.TH "HELLO, WORLD." "" "" "" .SH NAME Hello, world. \- """+indend_macros+ @@ -147,7 +147,7 @@ and . in a line and at line start """, r""".\" Man page generated from reStructuredText. . -.TH SIMPLE 1 "2009-08-05" "0.1" "text processing" +.TH "SIMPLE" 1 "2009-08-05" "0.1" "text processing" .SH NAME simple \- The way to go """+indend_macros+ @@ -228,7 +228,7 @@ totest['table'] = [ '''\ .\\" Man page generated from reStructuredText. . -.TH "" "" "" +.TH "" "" "" "" .SH NAME \\- \n\ '''+indend_macros+ @@ -286,7 +286,7 @@ $ """\ .\\" Man page generated from reStructuredText. . -.TH "" "" "" +.TH "" "" "" "" .SH NAME \\- \n\ """+indend_macros+ @@ -343,7 +343,7 @@ Section '''\ .\\" Man page generated from reStructuredText. . -.TH DEFINITION LIST TEST "" "" "" +.TH "DEFINITION LIST TEST" "" "" "" .SH NAME Definition List Test \\- \n\ '''+indend_macros+ @@ -372,7 +372,7 @@ totest['cmdlineoptions'] = [ """, r""".\" Man page generated from reStructuredText. . -.TH "" "" "" +.TH "" "" "" "" .SH NAME \- """+indend_macros+ |
