mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
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 run ./lexers
Updating the existing tests
You can regenerate all the test outputs
RECORD=true go test ./lexers