jenkins-bot has submitted this change and it was merged.

Change subject: Assert that '1.23.0-wmf.6' and '1.23.0-wmf6' both work
......................................................................


Assert that '1.23.0-wmf.6' and '1.23.0-wmf6' both work

Change-Id: I0f3abd131ab796c295f88cbdad4c64494191ea60
---
M utils.py
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Merlijn van Deen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/utils.py b/utils.py
index cf455e6..9c430b3 100644
--- a/utils.py
+++ b/utils.py
@@ -1,7 +1,11 @@
 def wmf_number(branchname):
     """
+    >>> wmf_number('1.27.0-wmf.21')
+    12721
     >>> wmf_number('1.27.0-wmf21')
     12721
+    >>> wmf_number('1.27.0-wmf.1')
+    12701
     >>> wmf_number('1.27.0-wmf1')
     12701
     >>> wmf_number('1.26wmf10')

-- 
To view, visit https://gerrit.wikimedia.org/r/240090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0f3abd131ab796c295f88cbdad4c64494191ea60
Gerrit-PatchSet: 2
Gerrit-Project: labs/tools/forrestbot
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to