1
0
mirror of https://github.com/taigrr/wtf synced 2026-04-01 01:28:44 -07:00
Files
wtf/vendor/github.com/alecthomas/chroma/lexers/README.md
2019-07-15 09:06:49 -07:00

20 lines
356 B
Markdown

# Lexer tests
The tests in this directory feed a known input `testdata/<name>.actual` into the parser for `<name>` and check
that its output matches `<name>.exported`.
## Running the tests
Run the tests as normal:
```go
go run ./lexers
```
## Updating the existing tests
You can regenerate all the test outputs
```go
RECORD=true go test ./lexers
```