fix: lint-fix

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
Christopher Phillips 2026-01-30 17:27:14 -05:00
parent 7f01403a6b
commit 04313718b0
No known key found for this signature in database

View File

@ -1837,18 +1837,18 @@ func Test_isValidMultiReleaseVersion(t *testing.T) {
{"8", false}, {"8", false},
// Invalid versions - format errors // Invalid versions - format errors
{"", false}, // empty string {"", false}, // empty string
{"0", false}, // zero not allowed (first digit must be 1-9) {"0", false}, // zero not allowed (first digit must be 1-9)
{"01", false}, // leading zero {"01", false}, // leading zero
{"9a", false}, // contains non-digit {"9a", false}, // contains non-digit
{"a9", false}, // starts with non-digit {"a9", false}, // starts with non-digit
{"abc", false}, // all non-digits {"abc", false}, // all non-digits
{"-1", false}, // negative (starts with non-digit) {"-1", false}, // negative (starts with non-digit)
{"9.0", false}, // contains non-digit (period) {"9.0", false}, // contains non-digit (period)
{"11-ea", false}, // contains non-digit (dash and letters) {"11-ea", false}, // contains non-digit (dash and letters)
{" 9", false}, // leading space {" 9", false}, // leading space
{"9 ", false}, // trailing space {"9 ", false}, // trailing space
{"1.8", false}, // old-style version format {"1.8", false}, // old-style version format
} }
for _, tt := range tests { for _, tt := range tests {