diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-07-18 14:43:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-07-18 14:43:14 +0000 |
commit | 361a5dfe05f884921758dd16077a5d4a5ff5e3a0 (patch) | |
tree | 9f3af338a610deeda70e437be63464ad57424ed2 /regress | |
parent | 97d02e918d0fd00dba7445c5bb7040e232a5ed6f (diff) | |
download | mandoc-361a5dfe05f884921758dd16077a5d4a5ff5e3a0.tar.gz |
new test for an empty text block; from rea@ via bapt@ (FreeBSD)
Diffstat (limited to 'regress')
-rw-r--r-- | regress/tbl/data/Makefile | 5 | ||||
-rw-r--r-- | regress/tbl/data/block_empty.in | 19 | ||||
-rw-r--r-- | regress/tbl/data/block_empty.out_ascii | 22 |
3 files changed, 44 insertions, 2 deletions
diff --git a/regress/tbl/data/Makefile b/regress/tbl/data/Makefile index 07a5573d..b1dcfa08 100644 --- a/regress/tbl/data/Makefile +++ b/regress/tbl/data/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.4 2017/07/04 20:59:17 schwarze Exp $ +# $OpenBSD: Makefile,v 1.5 2019/07/18 14:38:47 schwarze Exp $ -REGRESS_TARGETS = blankline block_unclosed block_width block_wrap empty insert +REGRESS_TARGETS = blankline block_empty block_unclosed block_width +REGRESS_TARGETS += block_wrap empty insert LINT_TARGETS = block_unclosed empty insert # groff-1.22.3 defect: diff --git a/regress/tbl/data/block_empty.in b/regress/tbl/data/block_empty.in new file mode 100644 index 00000000..cab27c62 --- /dev/null +++ b/regress/tbl/data/block_empty.in @@ -0,0 +1,19 @@ +.\" $OpenBSD: block_empty.in,v 1.1 2019/07/18 14:38:47 schwarze Exp $ +.TH TBL-DATA-BLOCK_EMPTY 1 "July 17, 2019" +.SH NAME +tbl-data-block_empty \- empty text block +.SH DESCRIPTION +normal text +.TS +|l|l|. +_ +A test +_ +table T{ +T} +_ +.TE +.SH AUTHORS +.MT rea@FreeBSD.org +Eygene Ryabinkin +.ME diff --git a/regress/tbl/data/block_empty.out_ascii b/regress/tbl/data/block_empty.out_ascii new file mode 100644 index 00000000..2c76dbd8 --- /dev/null +++ b/regress/tbl/data/block_empty.out_ascii @@ -0,0 +1,22 @@ +TBL-DATA-BLOCK_EMPTY(1) General Commands Manual TBL-DATA-BLOCK_EMPTY(1) + + + +NNAAMMEE + tbl-data-block_empty - empty text block + +DDEESSCCRRIIPPTTIIOONN + normal text + + +------+------+ + |A | test | + +------+------+ + |table | | + +------+------+ + +AAUUTTHHOORRSS + Eygene Ryabinkin <rea@FreeBSD.org> + + + +OpenBSD July 17, 2019 TBL-DATA-BLOCK_EMPTY(1) |