summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-08-15 18:59:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-08-15 18:59:40 +0000
commit6f1c9638ef3c94503710dae1d651c0ff277f1820 (patch)
tree4912b6b82a3f2f6cf534abc8d70c32999d8c6e42
parent9b56240aaf710bf79ffa7df42f13b47fbc4fe7b1 (diff)
downloadmandoc-6f1c9638ef3c94503710dae1d651c0ff277f1820.tar.gz
Some more tests of no-fill mode similar to mdoc/Bd/blank.in
after vertical spacing was improved in man_term.c rev. 1.239.
-rw-r--r--regress/man/nf/indent.in22
-rw-r--r--regress/man/nf/indent.out_ascii17
2 files changed, 29 insertions, 10 deletions
diff --git a/regress/man/nf/indent.in b/regress/man/nf/indent.in
index aaf7e905..35004b43 100644
--- a/regress/man/nf/indent.in
+++ b/regress/man/nf/indent.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: indent.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $
-.TH NF-INDENT 1 "January 4, 2011"
+.\" $OpenBSD: indent.in,v 1.5 2022/08/15 18:55:29 schwarze Exp $
+.TH NF-INDENT 1 "August 15, 2022"
.SH NAME
nf-indent \- indentation of literal blocks
.SH DESCRIPTION
@@ -10,12 +10,22 @@ oneword
two words
and three words
This is a very long line; because it is indented, it is a bit too long to fit.
-blank line:
+completely blank line:
-line with only a zero-width space:
+line containing a blank character:
+
+line containing two blank characters:
+
+line containing space tab space:
+
+line containing a zero-width space:
\&
-line with only a normal space character:
-
+line containing an invalid numbered character escape:
+\N'257'
+line containing an invalid named character escape:
+\[foobar]
+line containing a font escape:
+\fR
end of literal
.fi
He is some more
diff --git a/regress/man/nf/indent.out_ascii b/regress/man/nf/indent.out_ascii
index ba6adfe2..c8f2acba 100644
--- a/regress/man/nf/indent.out_ascii
+++ b/regress/man/nf/indent.out_ascii
@@ -9,13 +9,22 @@ DDEESSCCRRIIPPTTIIOONN
two words
and three words
This is a very long line; because it is indented, it is a bit too long to fit.
- blank line:
+ completely blank line:
- line with only a zero-width space:
+ line containing a blank character:
- line with only a normal space character:
+ line containing two blank characters:
+ line containing space tab space:
+
+ line containing a zero-width space:
+
+ line containing an invalid numbered character escape:
+
+ line containing an invalid named character escape:
+
+ line containing a font escape:
end of literal
He is some more regular text.
-OpenBSD January 4, 2011 NF-INDENT(1)
+OpenBSD August 15, 2022 NF-INDENT(1)