aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Lb
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/Lb
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/Lb')
-rw-r--r--regress/mdoc/Lb/badargs.in6
-rw-r--r--regress/mdoc/Lb/badargs.out_ascii6
-rw-r--r--regress/mdoc/Lb/badargs.out_lint2
-rw-r--r--regress/mdoc/Lb/badargs.out_markdown6
4 files changed, 11 insertions, 9 deletions
diff --git a/regress/mdoc/Lb/badargs.in b/regress/mdoc/Lb/badargs.in
index f1fea204..558eef2f 100644
--- a/regress/mdoc/Lb/badargs.in
+++ b/regress/mdoc/Lb/badargs.in
@@ -1,10 +1,10 @@
-.Dd January 2, 2011
+.Dd June 9, 2017
.Dt LB-BADARGS 3
.Os OpenBSD
.Sh NAME
.Nm Lb-badargs
.Nd bad arguments to the library macro
.Sh LIBRARY
-.Lb murks
+.Lb murks.
.Lb
-.Lb mylib another
+.Lb mylib another.
diff --git a/regress/mdoc/Lb/badargs.out_ascii b/regress/mdoc/Lb/badargs.out_ascii
index cfc2b0ff..db55ffd1 100644
--- a/regress/mdoc/Lb/badargs.out_ascii
+++ b/regress/mdoc/Lb/badargs.out_ascii
@@ -4,7 +4,7 @@ NNAAMMEE
LLbb--bbaaddaarrggss - bad arguments to the library macro
LLIIBBRRAARRYY
- library "murks"
- library "mylib" another
+ library "murks."
+ library "mylib" another.
-OpenBSD January 2, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Lb/badargs.out_lint b/regress/mdoc/Lb/badargs.out_lint
index d41489ed..1bcca249 100644
--- a/regress/mdoc/Lb/badargs.out_lint
+++ b/regress/mdoc/Lb/badargs.out_lint
@@ -1,3 +1,5 @@
mandoc: badargs.in:9:2: WARNING: skipping empty macro: Lb
+mandoc: badargs.in:8:10: STYLE: no blank before trailing delimiter: Lb murks.
+mandoc: badargs.in:10:18: STYLE: no blank before trailing delimiter: Lb ... another.
mandoc: badargs.in:8:5: WARNING: unknown library name: Lb murks
mandoc: badargs.in:10:5: WARNING: unknown library name: Lb mylib
diff --git a/regress/mdoc/Lb/badargs.out_markdown b/regress/mdoc/Lb/badargs.out_markdown
index 132b2f9f..9eebe89e 100644
--- a/regress/mdoc/Lb/badargs.out_markdown
+++ b/regress/mdoc/Lb/badargs.out_markdown
@@ -6,7 +6,7 @@ LB-BADARGS(3) - Library Functions Manual
# LIBRARY
-library &#8220;murks&#8221;
-library &#8220;mylib&#8221; another
+library &#8220;murks.&#8221;
+library &#8220;mylib&#8221; another.
-OpenBSD - January 2, 2011
+OpenBSD - June 9, 2017