aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitabed8762b0477726a99b6150b73b539d4f5249e3 (patch)
tree076599b497ae4774c6fabb804bbf540eb6688d97 /regress/mdoc/Va
parentd1008ef735ba0cceb18ab8b96c6a029d71ac93da (diff)
downloadmandoc-abed8762b0477726a99b6150b73b539d4f5249e3.tar.gz
mandoc-abed8762b0477726a99b6150b73b539d4f5249e3.tar.zst
mandoc-abed8762b0477726a99b6150b73b539d4f5249e3.zip
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