diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/mandoc/man/RS/Makefile | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/RS/literal.in | 18 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/RS/literal.out_ascii | 15 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/RS/literal.out_html | 20 |
4 files changed, 44 insertions, 12 deletions
diff --git a/regress/usr.bin/mandoc/man/RS/Makefile b/regress/usr.bin/mandoc/man/RS/Makefile index 65b17367832..34c0029c313 100644 --- a/regress/usr.bin/mandoc/man/RS/Makefile +++ b/regress/usr.bin/mandoc/man/RS/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.12 2017/06/13 19:33:24 schwarze Exp $ +# $OpenBSD: Makefile,v 1.13 2019/01/05 20:00:33 schwarze Exp $ REGRESS_TARGETS = an-margin breaking broken empty literal lonelyRE REGRESS_TARGETS += nested noRE nowidth REarg width LINT_TARGETS = empty lonelyRE noRE REarg +HTML_TARGETS = literal .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/man/RS/literal.in b/regress/usr.bin/mandoc/man/RS/literal.in index c77e2aec351..3a1a29a3adf 100644 --- a/regress/usr.bin/mandoc/man/RS/literal.in +++ b/regress/usr.bin/mandoc/man/RS/literal.in @@ -1,19 +1,27 @@ -.\" $OpenBSD: literal.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $ -.TH RS-LITERAL 1 "January 5, 2013" +.\" $OpenBSD: literal.in,v 1.3 2019/01/05 20:00:33 schwarze Exp $ +.TH RS-LITERAL 1 "January 5, 2019" .SH NAME RS-literal \- indented literal text .SH DESCRIPTION +BEGINTEST +.br +initial regular text .nf -literal -text +literal text +before display .RS This is a short line. This is a very long line that would wrap if it weren't in literal context. .RE -.PP literal text +after display .fi +final regular text +.br +ENDTEST +.br +end of file diff --git a/regress/usr.bin/mandoc/man/RS/literal.out_ascii b/regress/usr.bin/mandoc/man/RS/literal.out_ascii index a96741f32a7..bc3bd71b41d 100644 --- a/regress/usr.bin/mandoc/man/RS/literal.out_ascii +++ b/regress/usr.bin/mandoc/man/RS/literal.out_ascii @@ -6,15 +6,18 @@ NNAAMMEE RS-literal - indented literal text DDEESSCCRRIIPPTTIIOONN - regular text - literal - text + BEGINTEST + initial regular text + literal text + before display This is a short line. This is a very long line that would wrap if it weren't in literal context. - literal text - regular text + after display + final regular text + ENDTEST + end of file -OpenBSD January 5, 2013 RS-LITERAL(1) +OpenBSD January 5, 2019 RS-LITERAL(1) diff --git a/regress/usr.bin/mandoc/man/RS/literal.out_html b/regress/usr.bin/mandoc/man/RS/literal.out_html new file mode 100644 index 00000000000..9475f40709e --- /dev/null +++ b/regress/usr.bin/mandoc/man/RS/literal.out_html @@ -0,0 +1,20 @@ +BEGINTEST +<br/> +initial regular text +<pre> +literal text +before display +</pre> +<div class="Bd-indent"> +<pre> +This is a short line. +This is a very long line that would wrap if it weren't in literal context. +</pre> +</div> +<pre> +literal text +after display +</pre> +final regular text +<br/> +ENDTEST |