summaryrefslogtreecommitdiff
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-05 08:13:43 -0400
committerBrad King <brad.king@kitware.com>2019-04-05 08:18:14 -0400
commita9b38a17571bca0801594adf85fef59fac51d6ba (patch)
tree590dbf43ed1e15e7c654b3cd083f83e83dfb1381 /Tests/CMakeLib
parent2024327746747989f47dec3859e2ca4bc66267c3 (diff)
downloadcmake-a9b38a17571bca0801594adf85fef59fac51d6ba.tar.gz
cmRST: Fix crash on empty markup block
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/testRST.expect4
-rw-r--r--Tests/CMakeLib/testRST.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect
index d7b91d1b4d..c19ee9400b 100644
--- a/Tests/CMakeLib/testRST.expect
+++ b/Tests/CMakeLib/testRST.expect
@@ -83,6 +83,10 @@ or after a paragraph ending in two colons::
but not after a line ending in two colons::
in the middle of a paragraph.
+A literal block can be empty::
+
+
+
.. productionlist::
grammar: `production`
production: "content rendered"
diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst
index 633219f8b8..d2d1140f3c 100644
--- a/Tests/CMakeLib/testRST.rst
+++ b/Tests/CMakeLib/testRST.rst
@@ -90,6 +90,10 @@ or after a paragraph ending in two colons::
but not after a line ending in two colons::
in the middle of a paragraph.
+A literal block can be empty::
+
+
+
.. productionlist::
grammar: `production`
production: "content rendered"