diff --git a/matchers/parse/lexer.go b/matchers/parse/lexer.go index 9c49dc471d..ff23807e51 100644 --- a/matchers/parse/lexer.go +++ b/matchers/parse/lexer.go @@ -253,6 +253,7 @@ func (l *Lexer) accept(valid string) bool { return false } +// nolint:unused func (l *Lexer) acceptRun(valid string) { for strings.ContainsRune(valid, l.next()) { }