From 2d627d830fbf25aceab34e2105f73213f8294fd2 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Mon, 17 May 2010 10:43:48 +0000 Subject: Tests for sane and insane handling of lines before and after .SH/.SS --- regress/man/SH/blank.in | 19 +++++++++++++++++++ regress/man/SH/blank2.in | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 regress/man/SH/blank.in create mode 100644 regress/man/SH/blank2.in (limited to 'regress/man/SH') diff --git a/regress/man/SH/blank.in b/regress/man/SH/blank.in new file mode 100644 index 00000000..ba5bb825 --- /dev/null +++ b/regress/man/SH/blank.in @@ -0,0 +1,19 @@ +.TH SH-blank 1 "2010-05-17" "MANDOC" +.SH DESCRIPTION +.SH NO EMPTY LINE BEFORE THIS +.AT +.SH NO EMPTY LINE BEFORE THIS EITHER +.SS Before this, yes +.SS Before this, no +foo +.SS Before this, one +xxx +.PP +.SS Before this, two empty lines +.PP +.SS Before this, no +xxx +.SS Before this, one +.IP foo +.SS Before this, yes +xxx diff --git a/regress/man/SH/blank2.in b/regress/man/SH/blank2.in new file mode 100644 index 00000000..e8e1c7e3 --- /dev/null +++ b/regress/man/SH/blank2.in @@ -0,0 +1,4 @@ +.TH SH-blank 1 "2010-05-17" "MANDOC" +.AT +.SH NO EMPTY LINE BEFORE THIS +.SS No empty lines after this -- cgit