aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Ad
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/Ad
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/Ad')
-rw-r--r--regress/mdoc/Ad/noarg.in4
-rw-r--r--regress/mdoc/Ad/noarg.out_ascii4
-rw-r--r--regress/mdoc/Ad/noarg.out_lint1
-rw-r--r--regress/mdoc/Ad/noarg.out_markdown4
4 files changed, 7 insertions, 6 deletions
diff --git a/regress/mdoc/Ad/noarg.in b/regress/mdoc/Ad/noarg.in
index 65f8167b..b0881dc7 100644
--- a/regress/mdoc/Ad/noarg.in
+++ b/regress/mdoc/Ad/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 19, 2011
+.Dd June 9, 2017
.Dt AD-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -6,7 +6,7 @@
.Nd address macro without an argument
.Sh DESCRIPTION
with address:
-.Ad 0x3bc
+.Ad 0x3bc.
no address:
.Ad
end of test document
diff --git a/regress/mdoc/Ad/noarg.out_ascii b/regress/mdoc/Ad/noarg.out_ascii
index 6ad60d8a..b0703dd0 100644
--- a/regress/mdoc/Ad/noarg.out_ascii
+++ b/regress/mdoc/Ad/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
AAdd--nnooaarrgg - address macro without an argument
DDEESSCCRRIIPPTTIIOONN
- with address: _0_x_3_b_c no address: end of test document
+ with address: _0_x_3_b_c_. no address: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Ad/noarg.out_lint b/regress/mdoc/Ad/noarg.out_lint
index 180985aa..01d37fa1 100644
--- a/regress/mdoc/Ad/noarg.out_lint
+++ b/regress/mdoc/Ad/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ad
+mandoc: noarg.in:9:10: STYLE: no blank before trailing delimiter: Ad 0x3bc.
diff --git a/regress/mdoc/Ad/noarg.out_markdown b/regress/mdoc/Ad/noarg.out_markdown
index de7b6c64..285a9711 100644
--- a/regress/mdoc/Ad/noarg.out_markdown
+++ b/regress/mdoc/Ad/noarg.out_markdown
@@ -7,8 +7,8 @@ AD-NOARG(1) - General Commands Manual
# DESCRIPTION
with address:
-*0x3bc*
+*0x3bc.*
no address:
end of test document
-OpenBSD - January 19, 2011
+OpenBSD - June 9, 2017