summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Er
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/Er
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/Er')
-rw-r--r--regress/mdoc/Er/noarg.in3
-rw-r--r--regress/mdoc/Er/noarg.out_ascii4
-rw-r--r--regress/mdoc/Er/noarg.out_lint3
-rw-r--r--regress/mdoc/Er/noarg.out_markdown3
4 files changed, 8 insertions, 5 deletions
diff --git a/regress/mdoc/Er/noarg.in b/regress/mdoc/Er/noarg.in
index 6dc2aea6..646d3d54 100644
--- a/regress/mdoc/Er/noarg.in
+++ b/regress/mdoc/Er/noarg.in
@@ -1,4 +1,4 @@
-.Dd January 19, 2011
+.Dd June 9, 2017
.Dt ER-NOARG 1
.Os OpenBSD
.Sh NAME
@@ -7,6 +7,7 @@
.Sh DESCRIPTION
with error:
.Er ENOENT ";" "Sy" bold ;
+.Er EIO.
no error:
.Er
end of test document
diff --git a/regress/mdoc/Er/noarg.out_ascii b/regress/mdoc/Er/noarg.out_ascii
index cd8cc77b..ed7b16a9 100644
--- a/regress/mdoc/Er/noarg.out_ascii
+++ b/regress/mdoc/Er/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
EErr--nnooaarrgg - error constant macro without an argument
DDEESSCCRRIIPPTTIIOONN
- with error: ENOENT; bboolldd; no error: end of test document
+ with error: ENOENT; bboolldd; EIO. no error: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
diff --git a/regress/mdoc/Er/noarg.out_lint b/regress/mdoc/Er/noarg.out_lint
index b8594294..46b31363 100644
--- a/regress/mdoc/Er/noarg.out_lint
+++ b/regress/mdoc/Er/noarg.out_lint
@@ -1 +1,2 @@
-mandoc: noarg.in:11:2: WARNING: skipping empty macro: Er
+mandoc: noarg.in:12:2: WARNING: skipping empty macro: Er
+mandoc: noarg.in:10:8: STYLE: no blank before trailing delimiter: Er EIO.
diff --git a/regress/mdoc/Er/noarg.out_markdown b/regress/mdoc/Er/noarg.out_markdown
index 17dba3d4..47d378d8 100644
--- a/regress/mdoc/Er/noarg.out_markdown
+++ b/regress/mdoc/Er/noarg.out_markdown
@@ -8,7 +8,8 @@ ER-NOARG(1) - General Commands Manual
with error:
`ENOENT`; **bold**;
+`EIO.`
no error:
end of test document
-OpenBSD - January 19, 2011
+OpenBSD - June 9, 2017