diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-16 21:14:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-16 21:14:06 +0000 |
commit | 71cb7072c58fdfff26a9cd48f32c44d79d713898 (patch) | |
tree | f6c2afbbcf8d4eaf49532ca4d01d50a4acfadd9d | |
parent | 80fcacb757fbd9cf0563f942673895812a7a3986 (diff) |
some more whitespace tests found in my tree
-rw-r--r-- | regress/usr.bin/mandoc/char/space/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/multiple.in | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/multiple.out_ascii | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/zerowidth.in | 10 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/zerowidth.out_ascii | 17 |
5 files changed, 42 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/char/space/Makefile b/regress/usr.bin/mandoc/char/space/Makefile index 87021d23a7f..7ce50af3cb1 100644 --- a/regress/usr.bin/mandoc/char/space/Makefile +++ b/regress/usr.bin/mandoc/char/space/Makefile @@ -1,5 +1,6 @@ -# $OpenBSD: Makefile,v 1.5 2011/11/17 16:28:45 schwarze Exp $ +# $OpenBSD: Makefile,v 1.6 2012/07/16 21:14:05 schwarze Exp $ -REGRESS_TARGETS=leading-mdoc leading-man multiple nobreak tab tab-man +REGRESS_TARGETS = leading-mdoc leading-man multiple zerowidth +REGRESS_TARGETS += eos nobreak tab tab-man .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/char/space/multiple.in b/regress/usr.bin/mandoc/char/space/multiple.in index 57945165fc6..470372692d9 100644 --- a/regress/usr.bin/mandoc/char/space/multiple.in +++ b/regress/usr.bin/mandoc/char/space/multiple.in @@ -10,3 +10,9 @@ one space here two spaces here .Pp three spaces here +.Pp +one non-collapsing space here +.Pp +two non-collapsing spaces\ \ here +.Pp +three non-collapsing spaces\ \ \ here diff --git a/regress/usr.bin/mandoc/char/space/multiple.out_ascii b/regress/usr.bin/mandoc/char/space/multiple.out_ascii index 0e4ff69b557..5db4a3e1406 100644 --- a/regress/usr.bin/mandoc/char/space/multiple.out_ascii +++ b/regress/usr.bin/mandoc/char/space/multiple.out_ascii @@ -10,4 +10,10 @@ DDEESSCCRRIIPPTTIIOONN three spaces here + one non-collapsing space here + + two non-collapsing spaces here + + three non-collapsing spaces here + OpenBSD April 23, 2010 OpenBSD diff --git a/regress/usr.bin/mandoc/char/space/zerowidth.in b/regress/usr.bin/mandoc/char/space/zerowidth.in new file mode 100644 index 00000000000..5c1abf395f0 --- /dev/null +++ b/regress/usr.bin/mandoc/char/space/zerowidth.in @@ -0,0 +1,10 @@ +.TH SPACE-BASIC 1 date OpenBSD +.SH NAME +space-basic \- special space characters +.SH DESCRIPTION +.nf +zero width space \e^ between A and B: A\^B +zero width space \e% between A and B: A\%B +zero width space \e& between A and B: A\&B +zero width space \e| between A and B: A\|B +end of test document diff --git a/regress/usr.bin/mandoc/char/space/zerowidth.out_ascii b/regress/usr.bin/mandoc/char/space/zerowidth.out_ascii new file mode 100644 index 00000000000..dc534849176 --- /dev/null +++ b/regress/usr.bin/mandoc/char/space/zerowidth.out_ascii @@ -0,0 +1,17 @@ +SPACE-BASIC(1) OpenBSD Reference Manual SPACE-BASIC(1) + + + +NNAAMMEE + space-basic - special space characters + +DDEESSCCRRIIPPTTIIOONN + zero width space \^ between A and B: AB + zero width space \% between A and B: AB + zero width space \& between A and B: AB + zero width space \| between A and B: AB + end of test document + + + +OpenBSD date SPACE-BASIC(1) |