From: schwarze Date: Wed, 10 Aug 2016 13:10:17 +0000 (+0000) Subject: regression tests for mdoc_validate.c revisions 1.219 and 1.220 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cfeca612751011dd817fb11bd39c8dd593bf61e7;p=openbsd regression tests for mdoc_validate.c revisions 1.219 and 1.220 --- 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