summary refs log tree commit diff stats
path: root/tests/stdlib/trstgen.nim
diff options
context:
space:
mode:
authorAndrey Makarov <ph.makarov@gmail.com>2021-04-04 21:54:26 +0300
committerGitHub <noreply@github.com>2021-04-04 11:54:26 -0700
commitf02e159b56aaa63713991c0a7f8e7125e91c832e (patch)
tree596b5ecd9f2dd16e6d816d9ae4cfe4c2723bc2a8 /tests/stdlib/trstgen.nim
parent97764c8dc91081875f57029ae3f72d3a503f5e45 (diff)
downloadNim-f02e159b56aaa63713991c0a7f8e7125e91c832e.tar.gz
fix rst option list at EOF (follow-up #17442) (#17638)
Diffstat (limited to 'tests/stdlib/trstgen.nim')
-rw-r--r--tests/stdlib/trstgen.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stdlib/trstgen.nim b/tests/stdlib/trstgen.nim
index ad0c27f05..57dacdf11 100644
--- a/tests/stdlib/trstgen.nim
+++ b/tests/stdlib/trstgen.nim
@@ -1362,6 +1362,7 @@ Test1
           output)
     check("""<th align="left">-d</th><td align="left">option</td>""" in
           output)
+    check "<p>option</p>" notin output
 
   test "Option list 3 (double /)":
     let input = dedent """
@@ -1378,6 +1379,7 @@ Test1
           output)
     check("""<th align="left">-d</th><td align="left">option</td>""" in
           output)
+    check "<p>option</p>" notin output
 
   test "Roles: subscript prefix/postfix":
     let expected = "See <sub>some text</sub>."