summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Dv
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/Dv
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/Dv')
-rw-r--r--regress/mdoc/Dv/noarg.in4
-rw-r--r--regress/mdoc/Dv/noarg.out_ascii4
-rw-r--r--regress/mdoc/Dv/noarg.out_lint1
-rw-r--r--regress/mdoc/Dv/noarg.out_markdown4
4 files changed, 7 insertions, 6 deletions
diff --git a/regress/mdoc/Dv/noarg.in b/regress/mdoc/Dv/noarg.in
index 86155b3a..a2b54d86 100644
--- a/regress/mdoc/Dv/noarg.in
+++ b/regress/mdoc/Dv/noarg.in
@@ -1,4 +1,4 @@
-.Dd July 2, 2014
+.Dd June 9, 2017
.Dt DV-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -6,7 +6,7 @@
.Nd defined variable macro without an argument
.Sh DESCRIPTION
with variable:
-.Dv NULL
+.Dv NULL.
no variable:
.Dv
end of test document
diff --git a/regress/mdoc/Dv/noarg.out_ascii b/regress/mdoc/Dv/noarg.out_ascii
index b40d6635..7e934d63 100644
--- a/regress/mdoc/Dv/noarg.out_ascii
+++ b/regress/mdoc/Dv/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
DDvv--nnooaarrgg - defined variable macro without an argument
DDEESSCCRRIIPPTTIIOONN
- with variable: NULL no variable: end of test document
+ with variable: NULL. no variable: end of test document
-OpenBSD July 2, 2014 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Dv/noarg.out_lint b/regress/mdoc/Dv/noarg.out_lint
index cac45101..6e6ad765 100644
--- a/regress/mdoc/Dv/noarg.out_lint
+++ b/regress/mdoc/Dv/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:11:2: WARNING: skipping empty macro: Dv
+mandoc: noarg.in:9:9: STYLE: no blank before trailing delimiter: Dv NULL.
diff --git a/regress/mdoc/Dv/noarg.out_markdown b/regress/mdoc/Dv/noarg.out_markdown
index 7d1f29d1..6cb859d1 100644
--- a/regress/mdoc/Dv/noarg.out_markdown
+++ b/regress/mdoc/Dv/noarg.out_markdown
@@ -7,8 +7,8 @@ DV-NOARG(1) - General Commands Manual
# DESCRIPTION
with variable:
-`NULL`
+`NULL.`
no variable:
end of test document
-OpenBSD - July 2, 2014
+OpenBSD - June 9, 2017