From 04313718b0c171bb2cda41c2f4d633d06bce0283 Mon Sep 17 00:00:00 2001 From: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> Date: Fri, 30 Jan 2026 17:27:14 -0500 Subject: [PATCH] fix: lint-fix Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com> --- .../pkg/cataloger/java/archive_parser_test.go | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/syft/pkg/cataloger/java/archive_parser_test.go b/syft/pkg/cataloger/java/archive_parser_test.go index a0a3b5e8e..e85583b61 100644 --- a/syft/pkg/cataloger/java/archive_parser_test.go +++ b/syft/pkg/cataloger/java/archive_parser_test.go @@ -1837,18 +1837,18 @@ func Test_isValidMultiReleaseVersion(t *testing.T) { {"8", false}, // Invalid versions - format errors - {"", false}, // empty string - {"0", false}, // zero not allowed (first digit must be 1-9) - {"01", false}, // leading zero - {"9a", false}, // contains non-digit - {"a9", false}, // starts with non-digit - {"abc", false}, // all non-digits - {"-1", false}, // negative (starts with non-digit) - {"9.0", false}, // contains non-digit (period) - {"11-ea", false}, // contains non-digit (dash and letters) - {" 9", false}, // leading space - {"9 ", false}, // trailing space - {"1.8", false}, // old-style version format + {"", false}, // empty string + {"0", false}, // zero not allowed (first digit must be 1-9) + {"01", false}, // leading zero + {"9a", false}, // contains non-digit + {"a9", false}, // starts with non-digit + {"abc", false}, // all non-digits + {"-1", false}, // negative (starts with non-digit) + {"9.0", false}, // contains non-digit (period) + {"11-ea", false}, // contains non-digit (dash and letters) + {" 9", false}, // leading space + {"9 ", false}, // trailing space + {"1.8", false}, // old-style version format } for _, tt := range tests {