1
0
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:
Alec Thomas
2018-01-02 20:59:02 +11:00
parent e0f32fbcb5
commit 71ddf5511a
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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#