summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 12:37:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 12:37:58 +0000
commitc21b0099041cd45b4ceafb3d8c1021ea8f04e0a2 (patch)
tree477e60d9089965bfd17a2f685e971b37102be50c
parentbd60b6e6dde1b45c862a7cb7092e5a6985629c1f (diff)
downloadmandoc-c21b0099041cd45b4ceafb3d8c1021ea8f04e0a2.tar.gz
Forgot to add regression tests.
-rw-r--r--regress/man/punct/hyph0.in15
-rw-r--r--regress/mdoc/punct/hyph0.in20
2 files changed, 35 insertions, 0 deletions
diff --git a/regress/man/punct/hyph0.in b/regress/man/punct/hyph0.in
new file mode 100644
index 00000000..a1ca2116
--- /dev/null
+++ b/regress/man/punct/hyph0.in
@@ -0,0 +1,15 @@
+.TH FOO 1
+.SH NAME
+foo \- bar
+.SH DESCRIPTION
+asadsfsafasfjkhasldkjfhaslkdjhasldkjhasdfhjasdlkjhasdflkajhasdfasdf as-asdf
+.PP
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadflkjhasf d\(hyasdf
+.PP
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadlkjhasf d--yasdf
+.PP
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadkjhasf d---yasdf
+.PP
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjadhsadkjhasf "d-yasdf"
+.PP
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadkjhasf d\-yasdf
diff --git a/regress/mdoc/punct/hyph0.in b/regress/mdoc/punct/hyph0.in
new file mode 100644
index 00000000..b1021f94
--- /dev/null
+++ b/regress/mdoc/punct/hyph0.in
@@ -0,0 +1,20 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadflkjhasf d-asdf
+.Pp
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadflkjhasf d\(hyasdf
+.Pp
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadflkjhasf d--yasdf
+.Pp
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadfhsasf d---yasdf
+.Pp
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadfhsasf "d-yasdf"
+.Pp
+asdflkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadfhsasf d\-yasdf
+.Pp
+.Qq lkjhasdflkjhasdflkjhasdflkjhasdflkjhasdflkjhsadflkjhsadflkjhasfasas d-asdf