mirror of
https://github.com/alecthomas/chroma.git
synced 2025-12-01 22:51:19 +02:00
Update golangci-lint so we can force use of LazyLexer.
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestRemappingLexer(t *testing.T) {
|
||||
var lexer Lexer = MustNewLexer(nil, Rules{
|
||||
var lexer Lexer = MustNewLexer(nil, Rules{ // nolint: forbidigo
|
||||
"root": {
|
||||
{`\s+`, Whitespace, nil},
|
||||
{`\w+`, Name, nil},
|
||||
|
||||
Reference in New Issue
Block a user