source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: test tbl_term.c rev.
@ 2020-01-11 21:02 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-01-11 21:02 UTC (permalink / raw)
  To: source

Log Message:
-----------
test tbl_term.c rev. 1.73 and tbl_data.c rev. 1.53:
incomplete short layout lines followed by longer lines,
and spans at the beginning of layout lines

Modified Files:
--------------
    mandoc/regress/tbl/layout:
        Makefile
        shortlines.in
        shortlines.out_ascii

Added Files:
-----------
    mandoc/regress/tbl/layout:
        badspan.in
        badspan.out_ascii
        badspan.out_lint

Revision Data
-------------
--- /dev/null
+++ 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
--- /dev/null
+++ regress/tbl/layout/badspan.out_lint
@@ -0,0 +1 @@
+mandoc: badspan.in:9:1: WARNING: tbl line starts with span
Index: shortlines.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/shortlines.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/tbl/layout/shortlines.out_ascii -Lregress/tbl/layout/shortlines.out_ascii -u -p -r1.1 -r1.2
--- regress/tbl/layout/shortlines.out_ascii
+++ regress/tbl/layout/shortlines.out_ascii
@@ -43,6 +43,4 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
        +-----------+--------+-------+
 
 
-
-
-OpenBSD                          June 11, 2019        TBL-LAYOUT-SHORTLINES(1)
+OpenBSD                        January 11, 2020       TBL-LAYOUT-SHORTLINES(1)
Index: shortlines.in
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/shortlines.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/tbl/layout/shortlines.in -Lregress/tbl/layout/shortlines.in -u -p -r1.1 -r1.2
--- regress/tbl/layout/shortlines.in
+++ 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
-
-
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/tbl/layout/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/tbl/layout/Makefile -Lregress/tbl/layout/Makefile -u -p -r1.4 -r1.5
--- regress/tbl/layout/Makefile
+++ 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,
--- /dev/null
+++ regress/tbl/layout/badspan.out_ascii
@@ -0,0 +1,18 @@
+TBL-LAYOUT-BADSPAN(1)       General Commands Manual      TBL-LAYOUT-BADSPAN(1)
+
+
+
+N\bNA\bAM\bME\bE
+       tbl-layout-badspan - invalid spanned cells
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       normal text
+
+       +--+-----------+-----+---+
+       |  | span      | end |   |
+       +--+---+---+---+-----+---+
+       |1 | 2 | 3 | 4 | 5   | 6 |
+       +--+---+---+---+-----+---+
+
+
+OpenBSD                        January 11, 2020          TBL-LAYOUT-BADSPAN(1)
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-11 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-11 21:02 mandoc: test tbl_term.c rev schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).