diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/Sq | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-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/Sq')
-rw-r--r-- | regress/mdoc/Sq/Makefile | 1 | ||||
-rw-r--r-- | regress/mdoc/Sq/empty.in | 6 | ||||
-rw-r--r-- | regress/mdoc/Sq/empty.out_ascii | 4 | ||||
-rw-r--r-- | regress/mdoc/Sq/empty.out_lint | 2 | ||||
-rw-r--r-- | regress/mdoc/Sq/empty.out_markdown | 6 |
5 files changed, 11 insertions, 8 deletions
diff --git a/regress/mdoc/Sq/Makefile b/regress/mdoc/Sq/Makefile index 755b036a..716f480f 100644 --- a/regress/mdoc/Sq/Makefile +++ b/regress/mdoc/Sq/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ REGRESS_TARGETS = empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Sq/empty.in b/regress/mdoc/Sq/empty.in index 4a8cd1e1..aa521d25 100644 --- a/regress/mdoc/Sq/empty.in +++ b/regress/mdoc/Sq/empty.in @@ -1,4 +1,4 @@ -.Dd October 21, 2010 +.Dd June 9, 2017 .Dt SQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Sq and a full -.Sq "(" user@host +.Sq "(" user@host) quotation. And another -.So "(" full Sc one "Sy" bold . +.So "(" full) Sc one "Sy" bold . diff --git a/regress/mdoc/Sq/empty.out_ascii b/regress/mdoc/Sq/empty.out_ascii index cf014420..dc38a8fb 100644 --- a/regress/mdoc/Sq/empty.out_ascii +++ b/regress/mdoc/Sq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE SSqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty `' and a full (`user@host' quotation. And another (`full' one + An empty `' and a full (`user@host)' quotation. And another (`full)' one bboolldd. -OpenBSD October 21, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Sq/empty.out_lint b/regress/mdoc/Sq/empty.out_lint new file mode 100644 index 00000000..450c70b9 --- /dev/null +++ b/regress/mdoc/Sq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:11:18: STYLE: no blank before trailing delimiter: Sq user@host) +mandoc: empty.in:14:13: STYLE: no blank before trailing delimiter: So full) diff --git a/regress/mdoc/Sq/empty.out_markdown b/regress/mdoc/Sq/empty.out_markdown index 1da780b4..76493a30 100644 --- a/regress/mdoc/Sq/empty.out_markdown +++ b/regress/mdoc/Sq/empty.out_markdown @@ -9,9 +9,9 @@ SQ-EMPTY(1) - General Commands Manual An empty '' and a full -('user@host' +('user@host)' quotation. And another -('full' one **bold**. +('full)' one **bold**. -OpenBSD - October 21, 2010 +OpenBSD - June 9, 2017 |