We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 466ac33 commit 4029dbdCopy full SHA for 4029dbd
tests/version/version_test.bzl
@@ -105,6 +105,14 @@ def _test_normalization(env):
105
106
_tests.append(_test_normalization)
107
108
+def _test_normalize_local(env):
109
+ # Verify a local with a [digit][non-digit] sequence parses ok
110
+ in_str = "0.1.0+brt.9e"
111
+ actual = version.normalize(in_str)
112
+ env.expect.that_str(actual).equals("xxx")
113
+
114
+_tests.append(_test_normalize_local)
115
116
def _test_ordering(env):
117
want = [
118
# Taken from https://peps.python.org/pep-0440/#summary-of-permitted-suffixes-and-relative-ordering
0 commit comments