From f28a66ece1f73b1da9c9ca4e255b59deb4442001 Mon Sep 17 00:00:00 2001 From: grubert Date: Mon, 7 Dec 2009 15:02:59 +0000 Subject: 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 --- docutils/test/test_writers/test_manpage.py | 6 ++++++ sandbox/manpage-writer/expected/test.latin1 | 3 +++ sandbox/manpage-writer/expected/test.man | 3 +++ sandbox/manpage-writer/input/test.txt | 5 +++++ 4 files changed, 17 insertions(+) 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 ===== -- cgit v1.2.1