aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Qq
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/Qq
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/Qq')
-rw-r--r--regress/mdoc/Qq/Makefile1
-rw-r--r--regress/mdoc/Qq/empty.in6
-rw-r--r--regress/mdoc/Qq/empty.out_ascii4
-rw-r--r--regress/mdoc/Qq/empty.out_lint2
-rw-r--r--regress/mdoc/Qq/empty.out_markdown6
5 files changed, 11 insertions, 8 deletions
diff --git a/regress/mdoc/Qq/Makefile b/regress/mdoc/Qq/Makefile
index 263752b9..59ca18f5 100644
--- a/regress/mdoc/Qq/Makefile
+++ b/regress/mdoc/Qq/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/Qq/empty.in b/regress/mdoc/Qq/empty.in
index 81bd207e..b7550375 100644
--- a/regress/mdoc/Qq/empty.in
+++ b/regress/mdoc/Qq/empty.in
@@ -1,4 +1,4 @@
-.Dd October 21, 2010
+.Dd June 9, 2017
.Dt QQ-EMPTY 1
.Os OpenBSD
.Sh NAME
@@ -8,7 +8,7 @@
An empty
.Qq
and a full
-.Qq "(" user@host
+.Qq "(" user@host)
quotation.
And another
-.Qo "(" full Qc one "Sy" bold .
+.Qo "(" full) Qc one "Sy" bold .
diff --git a/regress/mdoc/Qq/empty.out_ascii b/regress/mdoc/Qq/empty.out_ascii
index a191f455..44f7960d 100644
--- a/regress/mdoc/Qq/empty.out_ascii
+++ b/regress/mdoc/Qq/empty.out_ascii
@@ -4,7 +4,7 @@ NNAAMMEE
QQqq--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/Qq/empty.out_lint b/regress/mdoc/Qq/empty.out_lint
new file mode 100644
index 00000000..4d0f7932
--- /dev/null
+++ b/regress/mdoc/Qq/empty.out_lint
@@ -0,0 +1,2 @@
+mandoc: empty.in:11:18: STYLE: no blank before trailing delimiter: Qq user@host)
+mandoc: empty.in:14:13: STYLE: no blank before trailing delimiter: Qo full)
diff --git a/regress/mdoc/Qq/empty.out_markdown b/regress/mdoc/Qq/empty.out_markdown
index beb8cb30..f6dd12e7 100644
--- a/regress/mdoc/Qq/empty.out_markdown
+++ b/regress/mdoc/Qq/empty.out_markdown
@@ -9,9 +9,9 @@ QQ-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