summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Va
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-10 01:48:53 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-10 01:48:53 +0000
commit81aa584b2fb42578083c3724876f0d11d9e09e4d (patch)
tree542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/Va
parent0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff)
downloadmandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'regress/mdoc/Va')
-rw-r--r--regress/mdoc/Va/noarg.in4
-rw-r--r--regress/mdoc/Va/noarg.out_ascii4
-rw-r--r--regress/mdoc/Va/noarg.out_lint1
-rw-r--r--regress/mdoc/Va/noarg.out_markdown4
4 files changed, 7 insertions, 6 deletions
diff --git a/regress/mdoc/Va/noarg.in b/regress/mdoc/Va/noarg.in
index f5fadad6..92d35dad 100644
--- a/regress/mdoc/Va/noarg.in
+++ b/regress/mdoc/Va/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 20, 2011
+.Dd June 9, 2017
.Dt VA-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -7,7 +7,7 @@
.Sh DESCRIPTION
with arguments
.Vt int
-.Va errno
+.Va errno.
no arguments
.Va
end of test document
diff --git a/regress/mdoc/Va/noarg.out_ascii b/regress/mdoc/Va/noarg.out_ascii
index e7bec8c2..1992ade4 100644
--- a/regress/mdoc/Va/noarg.out_ascii
+++ b/regress/mdoc/Va/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
VVaa--nnooaarrgg - variable name macro without arguments
DDEESSCCRRIIPPTTIIOONN
- with arguments _i_n_t _e_r_r_n_o no arguments end of test document
+ with arguments _i_n_t _e_r_r_n_o_. no arguments end of test document
-OpenBSD January 20, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Va/noarg.out_lint b/regress/mdoc/Va/noarg.out_lint
index 7d24e446..1541c742 100644
--- a/regress/mdoc/Va/noarg.out_lint
+++ b/regress/mdoc/Va/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:12:2: WARNING: skipping empty macro: Va
+mandoc: noarg.in:10:10: STYLE: no blank before trailing delimiter: Va errno.
diff --git a/regress/mdoc/Va/noarg.out_markdown b/regress/mdoc/Va/noarg.out_markdown
index 323c5e2f..157cc96f 100644
--- a/regress/mdoc/Va/noarg.out_markdown
+++ b/regress/mdoc/Va/noarg.out_markdown
@@ -8,8 +8,8 @@ VA-NOARG(1) - General Commands Manual
with arguments
*int*
-*errno*
+*errno.*
no arguments
end of test document
-OpenBSD - January 20, 2011
+OpenBSD - June 9, 2017