aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitabed8762b0477726a99b6150b73b539d4f5249e3 (patch)
tree076599b497ae4774c6fabb804bbf540eb6688d97 /regress/mdoc/Ms
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/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