diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-12-07 15:02:59 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2009-12-07 15:02:59 +0000 |
| commit | f28a66ece1f73b1da9c9ca4e255b59deb4442001 (patch) | |
| tree | c6a74cb3554ba5d0a4110eeeb2520cfddbc6f071 | |
| parent | 6d7055bd33f545a09509a86047c9d47ade5e8735 (diff) | |
| download | docutils-f28a66ece1f73b1da9c9ca4e255b59deb4442001.tar.gz | |
Add test for top section title with lower case letters
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6209 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/test/test_writers/test_manpage.py | 6 | ||||
| -rw-r--r-- | sandbox/manpage-writer/expected/test.latin1 | 3 | ||||
| -rw-r--r-- | sandbox/manpage-writer/expected/test.man | 3 | ||||
| -rw-r--r-- | sandbox/manpage-writer/input/test.txt | 5 |
4 files changed, 17 insertions, 0 deletions
diff --git a/docutils/test/test_writers/test_manpage.py b/docutils/test/test_writers/test_manpage.py index 4a9a5af1a..40163b8f6 100644 --- a/docutils/test/test_writers/test_manpage.py +++ b/docutils/test/test_writers/test_manpage.py @@ -99,7 +99,10 @@ OPTIONS --version, -V Show this program's version number and exit. --help, -h Show this help message and exit. +Other Section +============= +With mixed case. """, r""".\" Man page generated from reStructeredText. . @@ -132,6 +135,9 @@ Show this program\(aqs version number and exit. . Show this help message and exit. .UNINDENT +.SH Other Section +.sp +With mixed case. .SH AUTHOR someone@somewhere.net diff --git a/sandbox/manpage-writer/expected/test.latin1 b/sandbox/manpage-writer/expected/test.latin1 index b0512ea13..22e81560f 100644 --- a/sandbox/manpage-writer/expected/test.latin1 +++ b/sandbox/manpage-writer/expected/test.latin1 @@ -238,6 +238,9 @@ EEXXAAMMPPLLEESS Contained verbose. Nothing special. +TToopp SSeeccttiioonn + With mixed case + FFIILLEESS This is a file. diff --git a/sandbox/manpage-writer/expected/test.man b/sandbox/manpage-writer/expected/test.man index 1520e19c8..623cdba99 100644 --- a/sandbox/manpage-writer/expected/test.man +++ b/sandbox/manpage-writer/expected/test.man @@ -404,6 +404,9 @@ Text after the admonition. inline references \fIref something\fP . .sp Contained verbose. Nothing special. +.SH Top Section +.sp +With mixed case .SH FILES .sp This is a file. diff --git a/sandbox/manpage-writer/input/test.txt b/sandbox/manpage-writer/input/test.txt index 5b222cf15..54549d417 100644 --- a/sandbox/manpage-writer/input/test.txt +++ b/sandbox/manpage-writer/input/test.txt @@ -278,6 +278,11 @@ inline references `ref something` . Contained verbose. Nothing special. +Top Section +=========== + +With mixed case + FILES ===== |
