summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Aq
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/Aq
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/Aq')
-rw-r--r--regress/mdoc/Aq/Makefile1
-rw-r--r--regress/mdoc/Aq/empty.in6
-rw-r--r--regress/mdoc/Aq/empty.out_ascii4
-rw-r--r--regress/mdoc/Aq/empty.out_lint2
-rw-r--r--regress/mdoc/Aq/empty.out_markdown6
-rw-r--r--regress/mdoc/Aq/empty.out_utf84
6 files changed, 13 insertions, 10 deletions
diff --git a/regress/mdoc/Aq/Makefile b/regress/mdoc/Aq/Makefile
index ae347ad3..e51ca408 100644
--- a/regress/mdoc/Aq/Makefile
+++ b/regress/mdoc/Aq/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = author empty
UTF8_TARGETS = author empty
+LINT_TARGETS = empty
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Aq/empty.in b/regress/mdoc/Aq/empty.in
index 1fa5a61b..7b2d1681 100644
--- a/regress/mdoc/Aq/empty.in
+++ b/regress/mdoc/Aq/empty.in
@@ -1,4 +1,4 @@
-.Dd August 6, 2010
+.Dd June 9, 2017
.Dt AQ-EMPTY 1
.Os OpenBSD
.Sh NAME
@@ -8,7 +8,7 @@
An empty
.Aq
and a full
-.Aq user@host
+.Aq user@host:
return path.
And another
-.Ao full Ac one "Sy" bold .
+.Ao full: Ac one "Sy" bold .
diff --git a/regress/mdoc/Aq/empty.out_ascii b/regress/mdoc/Aq/empty.out_ascii
index 236c0625..15ef4e6d 100644
--- a/regress/mdoc/Aq/empty.out_ascii
+++ b/regress/mdoc/Aq/empty.out_ascii
@@ -4,7 +4,7 @@ NNAAMMEE
AAqq--eemmppttyy - empty implicit enclosure macros
DDEESSCCRRIIPPTTIIOONN
- An empty <> and a full <user@host> return path. And another <full> one
+ An empty <> and a full <user@host:> return path. And another <full:> one
bboolldd.
-OpenBSD August 6, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Aq/empty.out_lint b/regress/mdoc/Aq/empty.out_lint
new file mode 100644
index 00000000..78d88141
--- /dev/null
+++ b/regress/mdoc/Aq/empty.out_lint
@@ -0,0 +1,2 @@
+mandoc: empty.in:11:14: STYLE: no blank before trailing delimiter: Aq user@host:
+mandoc: empty.in:14:9: STYLE: no blank before trailing delimiter: Ao full:
diff --git a/regress/mdoc/Aq/empty.out_markdown b/regress/mdoc/Aq/empty.out_markdown
index dc396481..752a723b 100644
--- a/regress/mdoc/Aq/empty.out_markdown
+++ b/regress/mdoc/Aq/empty.out_markdown
@@ -9,9 +9,9 @@ AQ-EMPTY(1) - General Commands Manual
An empty
&lt;&gt;
and a full
-&lt;user@host&gt;
+&lt;user@host:&gt;
return path.
And another
-&lt;full&gt; one **bold**.
+&lt;full:&gt; one **bold**.
-OpenBSD - August 6, 2010
+OpenBSD - June 9, 2017
diff --git a/regress/mdoc/Aq/empty.out_utf8 b/regress/mdoc/Aq/empty.out_utf8
index 0a81608b..cb950c95 100644
--- a/regress/mdoc/Aq/empty.out_utf8
+++ b/regress/mdoc/Aq/empty.out_utf8
@@ -4,7 +4,7 @@ NNAAMMEE
AAqq--eemmppttyy – empty implicit enclosure macros
DDEESSCCRRIIPPTTIIOONN
- An empty ⟨⟩ and a full ⟨user@host⟩ return path. And another ⟨full⟩ one
+ An empty ⟨⟩ and a full ⟨user@host:⟩ return path. And another ⟨full:⟩ one
bboolldd.
-OpenBSD August 6, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD