summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-09 16:09:42 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-09 16:09:42 +0000
commitb2d098b772c4b976ea90943ea909bd2e5f294f56 (patch)
tree56916c847eb44ff1ea45cd462c1b17bcbd62b4ab /regress/usr.bin/mandoc
parent003622f7e99356c1e5d9e44adc9eb199324b39d9 (diff)
Only .Bd -literal has 8-character tabs,
while .Bd -unfilled has 5-character tabs just like normal text; from kristaps@.
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/char/space/tab.in21
-rw-r--r--regress/usr.bin/mandoc/char/space/tab.out_ascii20
2 files changed, 41 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/char/space/tab.in b/regress/usr.bin/mandoc/char/space/tab.in
index 6bf6335853d..ef123bf4503 100644
--- a/regress/usr.bin/mandoc/char/space/tab.in
+++ b/regress/usr.bin/mandoc/char/space/tab.in
@@ -81,6 +81,27 @@ space tab
.br
tab
.Ed
+unfilled display
+.Bd -unfilled -offset 2n
+1 x
+22 x
+333 x
+4444 x
+55555 x
+666666 x
+7777777 x
+88888888 x
+999999999 x
+aaaaaaaaaa x
+bbbbbbbbbbb x
+cccccccccccc x
+ddddddddddddd x
+tab space
+tab tab
+space tab
+ tab
+ tab
+.Ed
literal display
.Bd -literal -offset 2n
1 x
diff --git a/regress/usr.bin/mandoc/char/space/tab.out_ascii b/regress/usr.bin/mandoc/char/space/tab.out_ascii
index f7c32968ea6..a930bd76900 100644
--- a/regress/usr.bin/mandoc/char/space/tab.out_ascii
+++ b/regress/usr.bin/mandoc/char/space/tab.out_ascii
@@ -43,6 +43,26 @@ DDEESSCCRRIIPPTTIIOONN
space tab
tab
tab
+ unfilled display
+
+ 1 x
+ 22 x
+ 333 x
+ 4444 x
+ 55555 x
+ 666666 x
+ 7777777 x
+ 88888888 x
+ 999999999 x
+ aaaaaaaaaa x
+ bbbbbbbbbbb x
+ cccccccccccc x
+ ddddddddddddd x
+ tab space
+ tab tab
+ space tab
+ tab
+ tab
literal display
1 x