changeset 6335:394c795d7ba4

tests: add "double//slash" example to topic.common.formatfqbn() docstring This is just to make it dead easy to tell if debug output for that branch is correct or not.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 20 Oct 2022 17:58:08 +0400
parents ef8c1637321a
children 453861da6922
files hgext3rd/topic/common.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/common.py	Sat Nov 12 16:08:09 2022 +0400
+++ b/hgext3rd/topic/common.py	Thu Oct 20 17:58:08 2022 +0400
@@ -53,6 +53,8 @@
     'branch'
     >>> formatfqbn(branch=b'branch//')
     'branch////'
+    >>> formatfqbn(branch=b'double//slash')
+    'double//slash//'
     >>> formatfqbn(namespace=b'namespace')
     '//namespace/'
     >>> formatfqbn(branch=b'/topic')