summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Op
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Op')
-rw-r--r--regress/mdoc/Op/Makefile2
-rw-r--r--regress/mdoc/Op/punct.in5
-rw-r--r--regress/mdoc/Op/punct.out_ascii4
-rw-r--r--regress/mdoc/Op/punct.out_lint1
-rw-r--r--regress/mdoc/Op/punct.out_markdown5
5 files changed, 13 insertions, 4 deletions
diff --git a/regress/mdoc/Op/Makefile b/regress/mdoc/Op/Makefile
index ab934a4e..4a2d6fda 100644
--- a/regress/mdoc/Op/Makefile
+++ b/regress/mdoc/Op/Makefile
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.3 2014/07/02 11:42:56 schwarze Exp $
REGRESS_TARGETS = break broken punct
-LINT_TARGETS = break broken
+LINT_TARGETS = break broken punct
SKIP_GROFF = break
SKIP_ASCII = break
diff --git a/regress/mdoc/Op/punct.in b/regress/mdoc/Op/punct.in
index 7bc99332..7c09e574 100644
--- a/regress/mdoc/Op/punct.in
+++ b/regress/mdoc/Op/punct.in
@@ -1,4 +1,4 @@
-.Dd June 24, 2011
+.Dd June 9, 2017
.Dt OP-PUNCT 1
.Os OpenBSD
.Sh NAME
@@ -29,3 +29,6 @@ more than one:
.Op ( (
.Op | |
.Op . .
+.Pp
+Missing blank:
+.Op a.
diff --git a/regress/mdoc/Op/punct.out_ascii b/regress/mdoc/Op/punct.out_ascii
index 53251b52..3f5b22cd 100644
--- a/regress/mdoc/Op/punct.out_ascii
+++ b/regress/mdoc/Op/punct.out_ascii
@@ -14,4 +14,6 @@ DDEESSCCRRIIPPTTIIOONN
more than one: (([] [| |] []..
-OpenBSD June 24, 2011 OpenBSD
+ Missing blank: [a.]
+
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Op/punct.out_lint b/regress/mdoc/Op/punct.out_lint
new file mode 100644
index 00000000..fff31aea
--- /dev/null
+++ b/regress/mdoc/Op/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:34:6: STYLE: no blank before trailing delimiter: Op a.
diff --git a/regress/mdoc/Op/punct.out_markdown b/regress/mdoc/Op/punct.out_markdown
index 114bd7af..98ee2e72 100644
--- a/regress/mdoc/Op/punct.out_markdown
+++ b/regress/mdoc/Op/punct.out_markdown
@@ -31,4 +31,7 @@ more than one:
\[| |]
\[]..
-OpenBSD - June 24, 2011
+Missing blank:
+\[a.]
+
+OpenBSD - June 9, 2017