summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/break
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-05 19:59:33 +0000
commit6720c2e5aeecf3fc18ed94d21fe39caffaa70f11 (patch)
treee6edc639916f43b52d2efb638f3621e9b9f65207 /regress/mdoc/break
parente89ce06acbd8218e6d0eb1ba09458d12ec60ee25 (diff)
downloadmandoc-6720c2e5aeecf3fc18ed94d21fe39caffaa70f11.tar.gz
first batch of -T markdown tests
Diffstat (limited to 'regress/mdoc/break')
-rw-r--r--regress/mdoc/break/Makefile1
-rw-r--r--regress/mdoc/break/brokenbreaker.out_markdown13
-rw-r--r--regress/mdoc/break/notopen.out_markdown14
-rw-r--r--regress/mdoc/break/twice.out_markdown35
-rw-r--r--regress/mdoc/break/two.out_markdown37
5 files changed, 100 insertions, 0 deletions
diff --git a/regress/mdoc/break/Makefile b/regress/mdoc/break/Makefile
index b4c3b219..23898a59 100644
--- a/regress/mdoc/break/Makefile
+++ b/regress/mdoc/break/Makefile
@@ -2,6 +2,7 @@
REGRESS_TARGETS = brokenbreaker twice tail two notopen
LINT_TARGETS = brokenbreaker twice tail two notopen
+MARKDOWN_TARGETS = brokenbreaker twice two notopen
# It's hard to keep stuff together in next-line scope.
diff --git a/regress/mdoc/break/brokenbreaker.out_markdown b/regress/mdoc/break/brokenbreaker.out_markdown
new file mode 100644
index 00000000..ed5868d2
--- /dev/null
+++ b/regress/mdoc/break/brokenbreaker.out_markdown
@@ -0,0 +1,13 @@
+BREAK-BROKENBREAKER(1) - General Commands Manual
+
+# NAME
+
+**break-brokenbreaker** - a broken block breaking another block
+
+# DESCRIPTION
+
+(po
+&lt;ao pc)
+\[bo pc ac&gt; bc]
+
+OpenBSD - December 23, 2014
diff --git a/regress/mdoc/break/notopen.out_markdown b/regress/mdoc/break/notopen.out_markdown
new file mode 100644
index 00000000..61b8185d
--- /dev/null
+++ b/regress/mdoc/break/notopen.out_markdown
@@ -0,0 +1,14 @@
+BREAK-NOTOPEN(1) - General Commands Manual
+
+# NAME
+
+**break-notopen** - mismatching end macro inside two open blocks
+
+# DESCRIPTION
+
+&lt;ao
+\[bo pc bc]
+ac&gt;
+tail
+
+OpenBSD - August 20, 2016
diff --git a/regress/mdoc/break/twice.out_markdown b/regress/mdoc/break/twice.out_markdown
new file mode 100644
index 00000000..18bf1634
--- /dev/null
+++ b/regress/mdoc/break/twice.out_markdown
@@ -0,0 +1,35 @@
+BREAK-TWICE(1) - General Commands Manual
+
+# NAME
+
+**break-twice** - breaking the same block twice
+
+# DESCRIPTION
+
+Standard case, fully explicit:
+\[bo
+{bro
+&lt;ao brc} bc] ac&gt;
+
+Standard case, implicit broken block:
+\[bo
+{bro
+&lt;aq brc} bc] eol&gt;
+
+Two of the same kind, fully explicit:
+\[bo
+\[bo
+&lt;ao bc] bc] ac&gt;
+
+Two of the same kind, implicit broken block:
+\[bo
+\[bo
+&lt;aq bc] bc] eol&gt;
+
+Two implicit breakers:
+&lt;aq \[bq (po]&gt;
+pc)
+
+- it
+
+OpenBSD - February 16, 2017
diff --git a/regress/mdoc/break/two.out_markdown b/regress/mdoc/break/two.out_markdown
new file mode 100644
index 00000000..ab0aea2e
--- /dev/null
+++ b/regress/mdoc/break/two.out_markdown
@@ -0,0 +1,37 @@
+BREAK-TWO(1) - General Commands Manual
+
+# NAME
+
+**break-two** - the same block breaking two other blocks
+
+# DESCRIPTION
+
+Standard case, explicit:
+&lt;ao
+\[bo
+{bro ac&gt; brc}
+bc]
+
+Standard case, implicit:
+&lt;aq \[bo {bro eol&gt;}
+bc]
+
+Reverse closing, explicit:
+&lt;ao
+\[bo
+{bro ac&gt; bc] brc}
+
+Reverse closing, implicit:
+&lt;aq \[bo {bro eol&gt;] brc}
+
+Two of the same kind, explicit:
+&lt;ao
+\[bo
+\[bo ac&gt; bc]
+bc]
+
+Two of the same kind, implicit:
+&lt;aq \[bo \[bo eol&gt;]
+bc]
+
+OpenBSD - February 12, 2015