summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Ms
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/Ms
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/Ms')
-rw-r--r--regress/mdoc/Ms/noarg.in8
-rw-r--r--regress/mdoc/Ms/noarg.out_ascii4
-rw-r--r--regress/mdoc/Ms/noarg.out_lint1
-rw-r--r--regress/mdoc/Ms/noarg.out_markdown8
4 files changed, 11 insertions, 10 deletions
diff --git a/regress/mdoc/Ms/noarg.in b/regress/mdoc/Ms/noarg.in
index ae283587..9c9d83f6 100644
--- a/regress/mdoc/Ms/noarg.in
+++ b/regress/mdoc/Ms/noarg.in
@@ -1,12 +1,12 @@
-.Dd January 19, 2011
+.Dd June 19, 2017
.Dt MS-NOARG 1
.Os OpenBSD
.Sh NAME
.Nm Ms-noarg
.Nd mathematical symbol without an argument
.Sh DESCRIPTION
-with command:
-.Ms alpha
-no command:
+with symbol:
+.Ms alpha.
+no symbol:
.Ms
end of test document
diff --git a/regress/mdoc/Ms/noarg.out_ascii b/regress/mdoc/Ms/noarg.out_ascii
index fa90d0f3..7f219925 100644
--- a/regress/mdoc/Ms/noarg.out_ascii
+++ b/regress/mdoc/Ms/noarg.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
MMss--nnooaarrgg - mathematical symbol without an argument
DDEESSCCRRIIPPTTIIOONN
- with command: aallpphhaa no command: end of test document
+ with symbol: aallpphhaa.. no symbol: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 19, 2017 OpenBSD
diff --git a/regress/mdoc/Ms/noarg.out_lint b/regress/mdoc/Ms/noarg.out_lint
index 265fb3e6..8535ec9c 100644
--- a/regress/mdoc/Ms/noarg.out_lint
+++ b/regress/mdoc/Ms/noarg.out_lint
@@ -1 +1,2 @@
mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ms
+mandoc: noarg.in:9:10: STYLE: no blank before trailing delimiter: Ms alpha.
diff --git a/regress/mdoc/Ms/noarg.out_markdown b/regress/mdoc/Ms/noarg.out_markdown
index 5146653e..65c8466d 100644
--- a/regress/mdoc/Ms/noarg.out_markdown
+++ b/regress/mdoc/Ms/noarg.out_markdown
@@ -6,9 +6,9 @@ MS-NOARG(1) - General Commands Manual
# DESCRIPTION
-with command:
-**alpha**
-no command:
+with symbol:
+**alpha.**
+no symbol:
end of test document
-OpenBSD - January 19, 2011
+OpenBSD - June 19, 2017