mirror of
https://github.com/alecthomas/chroma.git
synced 2025-07-15 01:14:21 +02:00
Fix README for test fixtures.
This commit is contained in:
@ -59,7 +59,7 @@ func TestIteratorPanicRecovery(t *testing.T) {
|
||||
assert.Error(t, err)
|
||||
}
|
||||
|
||||
func TestFormatter_styleToCSS(t *testing.T) {
|
||||
func TestFormatterStyleToCSS(t *testing.T) {
|
||||
builder := styles.Get("github").Builder()
|
||||
builder.Add(chroma.LineHighlight, "bg:#ffffcc")
|
||||
builder.Add(chroma.LineNumbers, "bold")
|
||||
|
2
lexers/testdata/README.md
vendored
2
lexers/testdata/README.md
vendored
@ -19,7 +19,7 @@ eg.
|
||||
|
||||
```bash
|
||||
$ export LEXER=csharp
|
||||
$ go run ./cmd/chroma/main.go --lexer ${LEXER} --json lexers/testdata/${LEXER}.${LEXER} > lexers/testdata/${LEXER}.expected
|
||||
$ go run ./cmd/chroma/main.go --lexer ${LEXER} --json lexers/testdata/${LEXER}.actual > lexers/testdata/${LEXER}.expected
|
||||
$ go test -v -run TestLexers ./lexers
|
||||
=== RUN TestLexers
|
||||
=== RUN TestLexers/C#
|
||||
|
Reference in New Issue
Block a user