SF.net SVN: docutils:[10068] trunk/docutils/test/test_writers/ test_manpage.py

grubert--- via Docutils-checkins <[email protected]> Thu, 03 Apr 2025 09:38:33 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10068
          http://sourceforge.net/p/docutils/code/10068
Author:   grubert
Date:     2025-04-03 09:38:33 +0000 (Thu, 03 Apr 2025)
Log Message:
-----------
add test for ref trailings

Modified Paths:
--------------
    trunk/docutils/test/test_writers/test_manpage.py

Modified: trunk/docutils/test/test_writers/test_manpage.py
===================================================================
--- trunk/docutils/test/test_writers/test_manpage.py	2025-04-01 11:41:09 UTC (rev 10067)
+++ trunk/docutils/test/test_writers/test_manpage.py	2025-04-03 09:38:33 UTC (rev 10068)
@@ -180,6 +180,24 @@
 """],
         ]
 
+totest_refs['email trailings'] = [
+        [r"""email: ([email protected]).
+
+no spaces before and after the email.""",
+         document_start + indend_macros + """.TH "" "" "" ""
+.SH Name
+ \\- \n\
+email: (\c
+.MT mailto:[email protected]
[email protected]
+.ME
+).
+.sp
+no spaces before and after the email.
+.\\" End of generated man page.
+"""],
+        ]
+
 totest = {}
 
 totest['blank'] = [

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.