From fb07c020dc6fa536ee05963955eebde3aec01a3a Mon Sep 17 00:00:00 2001 From: schwarze Date: Fri, 16 Oct 2015 19:21:05 +0000 Subject: [PATCH] test mixing of tabs with Ta --- regress/usr.bin/mandoc/mdoc/Bl/column.in | 13 ++++++++++++- regress/usr.bin/mandoc/mdoc/Bl/column.out_ascii | 11 ++++++++++- regress/usr.bin/mandoc/mdoc/Bl/column.out_lint | 2 +- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/regress/usr.bin/mandoc/mdoc/Bl/column.in b/regress/usr.bin/mandoc/mdoc/Bl/column.in index e2bd961f408..d959612bdeb 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/column.in +++ b/regress/usr.bin/mandoc/mdoc/Bl/column.in @@ -1,4 +1,4 @@ -.Dd December 13, 2014 +.Dd October 14, 2015 .Dt BL-COLUMN 1 .Os OpenBSD .Sh NAME @@ -74,6 +74,17 @@ .It "a" Ta "b" Ta "c" Ta "d" .It "a" Ta "b" Ta "c" Ta "d" Ta "e" .El +.\" Mixed tab and Ta +.Bl -column a b c d +.It a b c d +.It a b c Ta d +.It a b Ta c d +.It a b Ta c Ta d +.It a Ta b c d +.It a Ta b c Ta d +.It a Ta b Ta c d +.It a Ta b Ta c Ta d +.El .\" Interrupted column list .Bl -column "aa" -width 6n -compact "bb" "cc" .It aa Ta bb Ta cc Ta dd diff --git a/regress/usr.bin/mandoc/mdoc/Bl/column.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/column.out_ascii index b934e2d8623..7cbce2e95e3 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/column.out_ascii +++ b/regress/usr.bin/mandoc/mdoc/Bl/column.out_ascii @@ -50,6 +50,15 @@ DDEESSCCRRIIPPTTIIOONN a b c a b cd a b cde + + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d + a b c d aa bb cc dd -OpenBSD December 13, 2014 OpenBSD +OpenBSD October 14, 2015 OpenBSD diff --git a/regress/usr.bin/mandoc/mdoc/Bl/column.out_lint b/regress/usr.bin/mandoc/mdoc/Bl/column.out_lint index 3cf45c0a208..1cadbff8cfe 100644 --- a/regress/usr.bin/mandoc/mdoc/Bl/column.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Bl/column.out_lint @@ -1,4 +1,4 @@ mandoc: column.in:71:2: WARNING: wrong number of cells: 2 columns, 1 cells mandoc: column.in:74:2: WARNING: wrong number of cells: 2 columns, 4 cells mandoc: column.in:75:2: WARNING: wrong number of cells: 2 columns, 5 cells -mandoc: column.in:78:18: WARNING: skipping -width argument: Bl -column +mandoc: column.in:89:18: WARNING: skipping -width argument: Bl -column -- 2.20.1