summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-29 14:08:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-07-29 14:08:09 +0000
commit538d857b3e0b062c99f6a494edfda97221806297 (patch)
tree56e0c2cf2210510e0f47213cbb7beb85f9f848db /regress
parente2ebd65cbfabf7992733a645ce8219e0e092ee71 (diff)
in addition to backslash-tilda,
test the more portable backslash-space as well
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/char/space/nobreak.in10
-rw-r--r--regress/usr.bin/mandoc/char/space/nobreak.out_ascii11
2 files changed, 19 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/char/space/nobreak.in b/regress/usr.bin/mandoc/char/space/nobreak.in
index 52cae236089..20bd19bd30e 100644
--- a/regress/usr.bin/mandoc/char/space/nobreak.in
+++ b/regress/usr.bin/mandoc/char/space/nobreak.in
@@ -1,4 +1,4 @@
-.Dd December 23, 2009
+.Dd July 29, 2012
.Dt SPACE-NOBREAK 1
.Os OpenBSD
.Sh NAME
@@ -17,6 +17,14 @@ With a non-breaking space, it breaks earlier:
.Pp
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x
.Pp
+The same with backslash-space:
+.Pp
+79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x
+.Pp
Only non-breaking spaces:
.Pp
79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x
+.Pp
+The same with backslash-space:
+.Pp
+79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x
diff --git a/regress/usr.bin/mandoc/char/space/nobreak.out_ascii b/regress/usr.bin/mandoc/char/space/nobreak.out_ascii
index 1130f92aa27..b82ab9ec636 100644
--- a/regress/usr.bin/mandoc/char/space/nobreak.out_ascii
+++ b/regress/usr.bin/mandoc/char/space/nobreak.out_ascii
@@ -18,8 +18,17 @@ DDEESSCCRRIIPPTTIIOONN
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
x x
+ The same with backslash-space:
+
+ 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ x x
+
Only non-breaking spaces:
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
-OpenBSD December 23, 2009 OpenBSD
+ The same with backslash-space:
+
+ 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
+
+OpenBSD July 29, 2012 OpenBSD