summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Ic
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/Ic
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/Ic')
-rw-r--r--regress/mdoc/Ic/noarg.in4
-rw-r--r--regress/mdoc/Ic/noarg.out_ascii4
-rw-r--r--regress/mdoc/Ic/noarg.out_lint1
-rw-r--r--regress/mdoc/Ic/noarg.out_markdown4
4 files changed, 7 insertions, 6 deletions
diff --git a/regress/mdoc/Ic/noarg.in b/regress/mdoc/Ic/noarg.in
index 76c22e7b..2c4bf670 100644
--- a/regress/mdoc/Ic/noarg.in
+++ b/regress/mdoc/Ic/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 19, 2011
+.Dd June 9, 2017
.Dt IC-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -6,7 +6,7 @@
.Nd interactive command without an argument
.Sh DESCRIPTION
with command:
-.Ic ls
+.Ic ls.
no command:
.Ic
end of test document
diff --git a/regress/mdoc/Ic/noarg.out_ascii b/regress/mdoc/Ic/noarg.out_ascii
index c5dda265..8899a951 100644
--- a/regress/mdoc/Ic/noarg.out_ascii
+++ b/regress/mdoc/Ic/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
IIcc--nnooaarrgg - interactive command without an argument
DDEESSCCRRIIPPTTIIOONN
- with command: llss no command: end of test document
+ with command: llss.. no command: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Ic/noarg.out_lint b/regress/mdoc/Ic/noarg.out_lint
index 5ae495bd..9520793e 100644
--- a/regress/mdoc/Ic/noarg.out_lint
+++ b/regress/mdoc/Ic/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ic
+mandoc: noarg.in:9:7: STYLE: no blank before trailing delimiter: Ic ls.
diff --git a/regress/mdoc/Ic/noarg.out_markdown b/regress/mdoc/Ic/noarg.out_markdown
index de7e6143..38162de3 100644
--- a/regress/mdoc/Ic/noarg.out_markdown
+++ b/regress/mdoc/Ic/noarg.out_markdown
@@ -7,8 +7,8 @@ IC-NOARG(1) - General Commands Manual
# DESCRIPTION
with command:
-**ls**
+**ls.**
no command:
end of test document
-OpenBSD - January 19, 2011
+OpenBSD - June 9, 2017