summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Lk
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/Lk
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/Lk')
-rw-r--r--regress/mdoc/Lk/noarg.in6
-rw-r--r--regress/mdoc/Lk/noarg.out_ascii6
-rw-r--r--regress/mdoc/Lk/noarg.out_lint2
-rw-r--r--regress/mdoc/Lk/noarg.out_markdown6
4 files changed, 11 insertions, 9 deletions
diff --git a/regress/mdoc/Lk/noarg.in b/regress/mdoc/Lk/noarg.in
index 910f641c..19d9d30c 100644
--- a/regress/mdoc/Lk/noarg.in
+++ b/regress/mdoc/Lk/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 19, 2011
+.Dd June 9, 2017
.Dt LK-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -9,9 +9,9 @@ multiple arguments
.Lk http://www.bsd.lv/ the bsd.lv project ,
.Lk http://www.gnu.org/software/groff/ GNU troff ","
two arguments
-.Lk http://mdocml.bsd.lv/ mandoc
+.Lk http://mdocml.bsd.lv/ mandoc,
one argument
-.Lk http://www.openbsd.org/
+.Lk http://www.openbsd.org/,
no argument
.Lk
.Pp
diff --git a/regress/mdoc/Lk/noarg.out_ascii b/regress/mdoc/Lk/noarg.out_ascii
index a0cec52a..5347cf7b 100644
--- a/regress/mdoc/Lk/noarg.out_ascii
+++ b/regress/mdoc/Lk/noarg.out_ascii
@@ -6,9 +6,9 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
multiple arguments _t_h_e _b_s_d_._l_v _p_r_o_j_e_c_t: hhttttpp::////wwwwww..bbssdd..llvv//, _G_N_U _t_r_o_f_f:
hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//ggrrooffff//,
- two arguments _m_a_n_d_o_c: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument
- hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// no argument
+ two arguments _m_a_n_d_o_c_,: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument
+ hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg//,, no argument
end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Lk/noarg.out_lint b/regress/mdoc/Lk/noarg.out_lint
index ff99c357..47c5b9ca 100644
--- a/regress/mdoc/Lk/noarg.out_lint
+++ b/regress/mdoc/Lk/noarg.out_lint
@@ -1 +1,3 @@
mandoc: noarg.in:16:2: WARNING: skipping empty macro: Lk
+mandoc: noarg.in:12:33: STYLE: no blank before trailing delimiter: Lk ... mandoc,
+mandoc: noarg.in:14:28: STYLE: no blank before trailing delimiter: Lk http://www.openbsd.org/,
diff --git a/regress/mdoc/Lk/noarg.out_markdown b/regress/mdoc/Lk/noarg.out_markdown
index 27aaec2c..56964f69 100644
--- a/regress/mdoc/Lk/noarg.out_markdown
+++ b/regress/mdoc/Lk/noarg.out_markdown
@@ -10,11 +10,11 @@ multiple arguments
[the bsd.lv project](http://www.bsd.lv/),
[GNU troff](http://www.gnu.org/software/groff/),
two arguments
-[mandoc](http://mdocml.bsd.lv/)
+[mandoc,](http://mdocml.bsd.lv/)
one argument
-[http://www.openbsd.org/](http://www.openbsd.org/)
+[http://www.openbsd.org/,](http://www.openbsd.org/,)
no argument
end of test document
-OpenBSD - January 19, 2011
+OpenBSD - June 9, 2017