mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
![]() ## Summary This PR updates the lexer tests to use the snapshot testing framework. It also makes the following changes: * Remove the use of macros in the lexer tests * Use `test_case` for EOL tests ## Test Plan ``` cargo test --package ruff_python_parser --lib --all-features -- lexer::tests --no-capture ``` |
||
---|---|---|
.. | ||
lexer | ||
snapshots | ||
context.rs | ||
function.rs | ||
lexer.rs | ||
lib.rs | ||
parser.rs | ||
python.lalrpop | ||
python.rs | ||
soft_keywords.rs | ||
string.rs | ||
token.rs | ||
typing.rs |