diff --git a/parser_test.go b/parser_test.go index 4232059..441194f 100644 --- a/parser_test.go +++ b/parser_test.go @@ -26,10 +26,6 @@ func not[T any](pred func(T) bool) func(T) bool { return func(x T) bool { return !pred(x) } } -func hasPrefix(prefix []byte) func([]byte) bool { - return func(b []byte) bool { return bytes.HasPrefix(b, prefix) } -} - func TestSlice(t *testing.T) { assertParseFails := func(t rapid.TB, input []byte, p gigaparsec.Parser[byte, []byte]) (parseErr gigaparsec.ParseError) { t.Helper()