summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-08-10 13:10:18 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-08-10 13:10:18 +0000
commitf47e916de1f9523a058e3b06f884f0685acc1154 (patch)
tree355299599c49bc5832161b09abf68426e53c12ce /regress/usr.bin/mandoc
parent57c1d81df9ef421d07ec3f01b1866d4d90da9818 (diff)
regression tests for mdoc_validate.c revisions 1.219 and 1.220
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/emptyitem.in4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_ascii2
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_lint2
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/notype.in4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii2
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint1
6 files changed, 8 insertions, 7 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.in b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.in
index 94e19840c53..e4f85897e71 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.in
+++ b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.in
@@ -1,4 +1,4 @@
-.Dd July 3, 2014
+.Dd August 10, 2016
.Dt BL-EMPTYITEM 1
.Os OpenBSD
.Sh NAME
@@ -31,7 +31,7 @@ three
.El
hyphen list:
.Bl -hyphen
-.It head argument
+.It Sy head argument
one
.It
.It
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_ascii
index fe25370bb29..5148c3ce3d6 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_ascii
@@ -33,4 +33,4 @@ DDEESSCCRRIIPPTTIIOONN
-- three
-OpenBSD July 3, 2014 OpenBSD
+OpenBSD August 10, 2016 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_lint
index c737a0271a5..1dd9dfea253 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Bl/emptyitem.out_lint
@@ -4,5 +4,5 @@ mandoc: emptyitem.in:20:2: WARNING: empty list item: Bl -dash It
mandoc: emptyitem.in:20:2: ERROR: skipping all arguments: It head argument
mandoc: emptyitem.in:28:2: WARNING: empty list item: Bl -enum It
mandoc: emptyitem.in:29:2: ERROR: skipping all arguments: It head argument
-mandoc: emptyitem.in:34:2: ERROR: skipping all arguments: It head argument
+mandoc: emptyitem.in:34:2: ERROR: skipping all arguments: It Sy
mandoc: emptyitem.in:36:2: WARNING: empty list item: Bl -hyphen It
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/notype.in b/regress/usr.bin/mandoc/mdoc/Bl/notype.in
index dce46bf80ba..f91583d0d65 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/notype.in
+++ b/regress/usr.bin/mandoc/mdoc/Bl/notype.in
@@ -1,4 +1,4 @@
-.Dd July 4, 2014
+.Dd August 10, 2016
.Dt BL-NOTYPE 1
.Os OpenBSD
.Sh NAME
@@ -12,7 +12,7 @@ Some text.
.El tail argument
.Pp
no type:
-.Bl -offset indent
+.Bl -offset indent -width Ds
.It
Some text.
.El
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii
index ba3f95b37d8..0f6b2237963 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii
@@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN
final text
-OpenBSD July 4, 2014 OpenBSD
+OpenBSD August 10, 2016 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint
index 0c7b0253afb..cf6fb63ac44 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint
+++ b/regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint
@@ -1,4 +1,5 @@
mandoc: notype.in:12:2: ERROR: skipping all arguments: El tail argument
mandoc: notype.in:9:2: WARNING: list type is not the first argument: Bl -offset
mandoc: notype.in:15:2: ERROR: missing list type, using -item: Bl
+mandoc: notype.in:15:20: WARNING: skipping -width argument: Bl -item
mandoc: notype.in:21:2: ERROR: missing list type, using -item: Bl