mirror of
https://github.com/cheat/cheat.git
synced 2025-09-04 11:08:29 +02:00
Add vendor files for go build
This commit is contained in:
19
vendor/github.com/alecthomas/chroma/lexers/README.md
generated
vendored
Normal file
19
vendor/github.com/alecthomas/chroma/lexers/README.md
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# 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 test ./lexers
|
||||
```
|
||||
|
||||
## Updating the existing tests
|
||||
|
||||
You can regenerate all the test outputs
|
||||
|
||||
```go
|
||||
RECORD=true go test ./lexers
|
||||
```
|
Reference in New Issue
Block a user