From 3e6cb108059b1444b1f6c1a8ef584718dce2e51f Mon Sep 17 00:00:00 2001 From: 0xFloki Date: Sat, 24 Jan 2026 20:56:13 +0100 Subject: [PATCH] Update init_test.go --- tests/init_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/init_test.go b/tests/init_test.go index b933c9808c..5ac5568821 100644 --- a/tests/init_test.go +++ b/tests/init_test.go @@ -119,16 +119,6 @@ func (tm *testMatcher) skipLoad(pattern string) { tm.skiploadpat = append(tm.skiploadpat, regexp.MustCompile(pattern)) } -// fails adds an expected failure for tests matching the pattern. -// -//nolint:unused -func (tm *testMatcher) fails(pattern string, reason string) { - if reason == "" { - panic("empty fail reason") - } - tm.failpat = append(tm.failpat, testFailure{regexp.MustCompile(pattern), reason}) -} - func (tm *testMatcher) runonly(pattern string) { tm.runonlylistpat = regexp.MustCompile(pattern) }