diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/Ar | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-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/Ar')
-rw-r--r-- | regress/mdoc/Ar/Makefile | 1 | ||||
-rw-r--r-- | regress/mdoc/Ar/punct.in | 5 | ||||
-rw-r--r-- | regress/mdoc/Ar/punct.out_ascii | 4 | ||||
-rw-r--r-- | regress/mdoc/Ar/punct.out_lint | 1 | ||||
-rw-r--r-- | regress/mdoc/Ar/punct.out_markdown | 5 |
5 files changed, 13 insertions, 3 deletions
diff --git a/regress/mdoc/Ar/Makefile b/regress/mdoc/Ar/Makefile index 2d1d895c..0acd2e05 100644 --- a/regress/mdoc/Ar/Makefile +++ b/regress/mdoc/Ar/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ REGRESS_TARGETS = punct font +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Ar/punct.in b/regress/mdoc/Ar/punct.in index 51044001..71abc258 100644 --- a/regress/mdoc/Ar/punct.in +++ b/regress/mdoc/Ar/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt AR-PUNCT 1 .Os OpenBSD .Sh NAME @@ -40,3 +40,6 @@ op bracket .Pp quoted punctuation: .Ar a "(" b "|" c ")" d "," "Sy" bold . +.Pp +missing blank: +.Ar arg. diff --git a/regress/mdoc/Ar/punct.out_ascii b/regress/mdoc/Ar/punct.out_ascii index 01426c58..e34b3fdc 100644 --- a/regress/mdoc/Ar/punct.out_ascii +++ b/regress/mdoc/Ar/punct.out_ascii @@ -11,4 +11,6 @@ DDEESSCCRRIIPPTTIIOONN quoted punctuation: _a (_b | _c) _d, bboolldd. -OpenBSD August 21, 2014 OpenBSD + missing blank: _a_r_g_. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ar/punct.out_lint b/regress/mdoc/Ar/punct.out_lint new file mode 100644 index 00000000..73e9ca6e --- /dev/null +++ b/regress/mdoc/Ar/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:45:8: STYLE: no blank before trailing delimiter: Ar arg. diff --git a/regress/mdoc/Ar/punct.out_markdown b/regress/mdoc/Ar/punct.out_markdown index 932b8660..ab03a7b5 100644 --- a/regress/mdoc/Ar/punct.out_markdown +++ b/regress/mdoc/Ar/punct.out_markdown @@ -42,4 +42,7 @@ op bracket quoted punctuation: *a* (*b* | *c*) *d*, **bold**. -OpenBSD - August 21, 2014 +missing blank: +*arg.* + +OpenBSD - June 9, 2017 |