summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/tbl/layout/Makefile6
-rw-r--r--regress/tbl/layout/badspan.in13
-rw-r--r--regress/tbl/layout/badspan.out_ascii18
-rw-r--r--regress/tbl/layout/badspan.out_lint1
-rw-r--r--regress/tbl/layout/shortlines.in8
-rw-r--r--regress/tbl/layout/shortlines.out_ascii4
6 files changed, 39 insertions, 11 deletions
diff --git a/regress/tbl/layout/Makefile b/regress/tbl/layout/Makefile
index 1009d96e..2cff5851 100644
--- a/regress/tbl/layout/Makefile
+++ b/regress/tbl/layout/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.5 2019/12/31 22:49:17 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2020/01/11 20:56:26 schwarze Exp $
-REGRESS_TARGETS = center complex empty emptycol emptyline
+REGRESS_TARGETS = badspan center complex empty emptycol emptyline
REGRESS_TARGETS += lines lines-nogroff numbers shortlines span
-LINT_TARGETS = complex empty
+LINT_TARGETS = badspan complex empty
# groff-1.22.3 defects:
# - When the layout is completely empty,
diff --git a/regress/tbl/layout/badspan.in b/regress/tbl/layout/badspan.in
new file mode 100644
index 00000000..4d276450
--- /dev/null
+++ b/regress/tbl/layout/badspan.in
@@ -0,0 +1,13 @@
+.\" $OpenBSD: badspan.in,v 1.1 2020/01/11 20:56:26 schwarze Exp $
+.TH TBL-LAYOUT-BADSPAN 1 "January 11, 2020"
+.SH NAME
+tbl-layout-badspan \- invalid spanned cells
+.SH DESCRIPTION
+normal text
+.TS
+allbox tab(:);
+S L S S
+L L L L L L.
+span:end
+1:2:3:4:5:6
+.TE
diff --git a/regress/tbl/layout/badspan.out_ascii b/regress/tbl/layout/badspan.out_ascii
new file mode 100644
index 00000000..36d062dc
--- /dev/null
+++ b/regress/tbl/layout/badspan.out_ascii
@@ -0,0 +1,18 @@
+TBL-LAYOUT-BADSPAN(1) General Commands Manual TBL-LAYOUT-BADSPAN(1)
+
+
+
+NNAAMMEE
+ tbl-layout-badspan - invalid spanned cells
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text
+
+ +--+-----------+-----+---+
+ | | span | end | |
+ +--+---+---+---+-----+---+
+ |1 | 2 | 3 | 4 | 5 | 6 |
+ +--+---+---+---+-----+---+
+
+
+OpenBSD January 11, 2020 TBL-LAYOUT-BADSPAN(1)
diff --git a/regress/tbl/layout/badspan.out_lint b/regress/tbl/layout/badspan.out_lint
new file mode 100644
index 00000000..883d5763
--- /dev/null
+++ b/regress/tbl/layout/badspan.out_lint
@@ -0,0 +1 @@
+mandoc: badspan.in:9:1: WARNING: tbl line starts with span
diff --git a/regress/tbl/layout/shortlines.in b/regress/tbl/layout/shortlines.in
index f6434619..85983c47 100644
--- a/regress/tbl/layout/shortlines.in
+++ b/regress/tbl/layout/shortlines.in
@@ -1,5 +1,5 @@
-.\" $OpenBSD: shortlines.in,v 1.1 2019/06/11 15:40:41 schwarze Exp $
-.TH TBL-LAYOUT-SHORTLINES 1 "June 11, 2019"
+.\" $OpenBSD: shortlines.in,v 1.2 2020/01/11 20:56:26 schwarze Exp $
+.TH TBL-LAYOUT-SHORTLINES 1 "January 11, 2020"
.SH NAME
tbl-layout-shortlines \- table lines of different length
.SH DESCRIPTION
@@ -39,11 +39,9 @@ very short
.TS
allbox tab(:);
L
-L L
+L
L L L.
very short
short:line
left:middle:right
.TE
-
-
diff --git a/regress/tbl/layout/shortlines.out_ascii b/regress/tbl/layout/shortlines.out_ascii
index 02fe01d7..cb4e6148 100644
--- a/regress/tbl/layout/shortlines.out_ascii
+++ b/regress/tbl/layout/shortlines.out_ascii
@@ -43,6 +43,4 @@ DDEESSCCRRIIPPTTIIOONN
+-----------+--------+-------+
-
-
-OpenBSD June 11, 2019 TBL-LAYOUT-SHORTLINES(1)
+OpenBSD January 11, 2020 TBL-LAYOUT-SHORTLINES(1)