aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bx
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/Bx
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/Bx')
-rw-r--r--regress/mdoc/Bx/Makefile1
-rw-r--r--regress/mdoc/Bx/args.in4
-rw-r--r--regress/mdoc/Bx/args.out_ascii4
-rw-r--r--regress/mdoc/Bx/args.out_lint1
-rw-r--r--regress/mdoc/Bx/args.out_markdown4
5 files changed, 8 insertions, 6 deletions
diff --git a/regress/mdoc/Bx/Makefile b/regress/mdoc/Bx/Makefile
index 6d49f63a..03e9990c 100644
--- a/regress/mdoc/Bx/Makefile
+++ b/regress/mdoc/Bx/Makefile
@@ -1,5 +1,6 @@
# $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $
REGRESS_TARGETS = args
+LINT_TARGETS = args
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Bx/args.in b/regress/mdoc/Bx/args.in
index d4479275..d6f8ff5e 100644
--- a/regress/mdoc/Bx/args.in
+++ b/regress/mdoc/Bx/args.in
@@ -1,4 +1,4 @@
-.Dd January 30, 2011
+.Dd June 9, 2017
.Dt BX-ARGS 1
.Os OpenBSD
.Sh NAME
@@ -12,7 +12,7 @@ one standard argument:
.Bx 4.4 "."
.Pp
one non-standard argument:
-.Bx nett
+.Bx nett.
.Pp
one semi-standard argument:
.Bx 4.1c
diff --git a/regress/mdoc/Bx/args.out_ascii b/regress/mdoc/Bx/args.out_ascii
index 24e03ffe..d7c1e769 100644
--- a/regress/mdoc/Bx/args.out_ascii
+++ b/regress/mdoc/Bx/args.out_ascii
@@ -8,7 +8,7 @@ DDEESSCCRRIIPPTTIIOONN
one standard argument: 4.4BSD.
- one non-standard argument: nettBSD
+ one non-standard argument: nett.BSD
one semi-standard argument: 4.1cBSD
@@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN
end of test document
-OpenBSD January 30, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Bx/args.out_lint b/regress/mdoc/Bx/args.out_lint
new file mode 100644
index 00000000..4f5dbcd9
--- /dev/null
+++ b/regress/mdoc/Bx/args.out_lint
@@ -0,0 +1 @@
+mandoc: args.in:15:9: STYLE: no blank before trailing delimiter: Bx nett.
diff --git a/regress/mdoc/Bx/args.out_markdown b/regress/mdoc/Bx/args.out_markdown
index 5450ee51..e2316621 100644
--- a/regress/mdoc/Bx/args.out_markdown
+++ b/regress/mdoc/Bx/args.out_markdown
@@ -13,7 +13,7 @@ one standard argument:
4\.4BSD.
one non-standard argument:
-nettBSD
+nett.BSD
one semi-standard argument:
4\.1cBSD
@@ -26,4 +26,4 @@ more arguments:
end of test document
-OpenBSD - January 30, 2011
+OpenBSD - June 9, 2017