summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:15:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:15:37 +0000
commitab33b5f3ff48b80efbb0f50df769b5f0c4e50e75 (patch)
treed81c78e6ac539192a52481ceeb781fb8b13387cf /regress
parentb036682395105453d12e07ce3d4e3b1918671a32 (diff)
downloadmandoc-ab33b5f3ff48b80efbb0f50df769b5f0c4e50e75.tar.gz
Added more character-escape regressions.
Diffstat (limited to 'regress')
-rw-r--r--regress/test.escape.1022
-rw-r--r--regress/test.escape.1123
-rw-r--r--regress/test.escape.1223
3 files changed, 68 insertions, 0 deletions
diff --git a/regress/test.escape.10 b/regress/test.escape.10
new file mode 100644
index 00000000..cc655d0e
--- /dev/null
+++ b/regress/test.escape.10
@@ -0,0 +1,22 @@
+.\"
+.Dd $Mdocdate$
+.Dt mdoc 3
+.Os
+.\"
+.Sh NAME
+.Nm mdoc_free
+.Nd mdoc macro compiler library
+.\"
+.Sh SYNOPSIS
+Valid escape: \(ab
+Valid escape: \[d]
+Valid escape: \[dsdfajsdflaksjfhalksjdfh__----]
+Valid escape: \\
+Valid escape: \e
+Valid escape: \`
+Valid escape: \'
+Valid escape: \.
+Valid escape: \-
+Valid escape: \
+Valid escape: \*a
+Valid escape: \(*ab
diff --git a/regress/test.escape.11 b/regress/test.escape.11
new file mode 100644
index 00000000..6e468493
--- /dev/null
+++ b/regress/test.escape.11
@@ -0,0 +1,23 @@
+.\"
+.Dd $Mdocdate$
+.Dt mdoc 3
+.Os
+.\"
+.Sh NAME
+.Nm mdoc_free
+.Nd mdoc macro compiler library
+.\"
+.Sh SYNOPSIS
+Valid escape: \(ab
+Valid escape: \[d]
+Valid escape: \[dsdfajsdflaksjfhalksjdfh__----]
+Valid escape: \\
+Valid escape: \e
+Valid escape: \`
+Valid escape: \'
+Valid escape: \.
+Valid escape: \-
+Valid escape: \
+Valid escape: \*a
+Valid escape: \(*ab
+Invalid escape: \*
diff --git a/regress/test.escape.12 b/regress/test.escape.12
new file mode 100644
index 00000000..f7d2d4e9
--- /dev/null
+++ b/regress/test.escape.12
@@ -0,0 +1,23 @@
+.\"
+.Dd $Mdocdate$
+.Dt mdoc 3
+.Os
+.\"
+.Sh NAME
+.Nm mdoc_free
+.Nd mdoc macro compiler library
+.\"
+.Sh SYNOPSIS
+Valid escape: \(ab
+Valid escape: \[d]
+Valid escape: \[dsdfajsdflaksjfhalksjdfh__----]
+Valid escape: \\
+Valid escape: \e
+Valid escape: \`
+Valid escape: \'
+Valid escape: \.
+Valid escape: \-
+Valid escape: \
+Valid escape: \*a
+Valid escape: \(*ab
+Invalid escape: \*(