summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 17:51:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 17:51:15 +0000
commit29dca53ec230c4b598c402ca964e308ca2dd627f (patch)
tree6a59b819bf4540af0b4a051be1fed72ff1323f83 /regress/roff/esc
parent249038d8e46090d651314d34d995078a1aeb6ee9 (diff)
downloadmandoc-29dca53ec230c4b598c402ca964e308ca2dd627f.tar.gz
improve rounding rules for scaling units
in horizontal orientation in the terminal formatter
Diffstat (limited to 'regress/roff/esc')
-rw-r--r--regress/roff/esc/h.in2
-rw-r--r--regress/roff/esc/h.out_ascii1
-rw-r--r--regress/roff/esc/h.out_lint2
3 files changed, 4 insertions, 1 deletions
diff --git a/regress/roff/esc/h.in b/regress/roff/esc/h.in
index 4bc1953e..56e4275c 100644
--- a/regress/roff/esc/h.in
+++ b/regress/roff/esc/h.in
@@ -7,6 +7,8 @@
.Sh DESCRIPTION
simple: >\h'0'<
.br
+rounding: >\h'0.16i'<
+.br
escape only: >\h'\w'\&'M'<
.br
escape at the end: >\h'0+\w'\&''<
diff --git a/regress/roff/esc/h.out_ascii b/regress/roff/esc/h.out_ascii
index 858dcf32..ae378a45 100644
--- a/regress/roff/esc/h.out_ascii
+++ b/regress/roff/esc/h.out_ascii
@@ -5,6 +5,7 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
simple: ><
+ rounding: > <
escape only: ><
escape at the end: ><
escape at the beginning: ><
diff --git a/regress/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint
index 6e2eb342..b7facfb1 100644
--- a/regress/roff/esc/h.out_lint
+++ b/regress/roff/esc/h.out_lint
@@ -1,2 +1,2 @@
-mandoc: h.in:18:21: WARNING: invalid escape sequence: \h-
+mandoc: h.in:20:21: WARNING: invalid escape sequence: \h-
mandoc: h.in:1:5: STYLE: Mdocdate missing: Dd May