ruff/crates/ruff_python_parser/src
Dhruv Manilawala a41bb2733f
Add range to lexer test snapshots (#7265)
## Summary

This PR updates the lexer test snapshots to include the range value as
well. This is mainly a mechanical refactor.

### Motivation

The main motivation is so that we can verify that the ranges are valid
and do not overlap.

## Test Plan

`cargo test`
2023-09-11 19:12:46 +00:00
..
lexer Add eat_char2 for the lexer (#6968) 2023-08-29 17:18:02 +05:30
snapshots Add range to lexer test snapshots (#7265) 2023-09-11 19:12:46 +00:00
context.rs Remove Parse trait (#6235) 2023-08-01 18:35:03 +02:00
function.rs Move Ranged into ruff_text_size (#6919) 2023-08-27 14:12:51 -04:00
lexer.rs Add range to lexer test snapshots (#7265) 2023-09-11 19:12:46 +00:00
lib.rs Rename parser mode from Jupyter to Ipython (#7153) 2023-09-05 14:12:26 +00:00
parser.rs Rename parser mode from Jupyter to Ipython (#7153) 2023-09-05 14:12:26 +00:00
python.lalrpop Move ExprConstant::kind to StringConstant::unicode (#7180) 2023-09-06 07:39:25 +00:00
python.rs Move ExprConstant::kind to StringConstant::unicode (#7180) 2023-09-06 07:39:25 +00:00
soft_keywords.rs Replace .map_or(false, $closure) with .is_some_and(closure) (#6244) 2023-08-01 19:29:42 +02:00
string.rs Move ExprConstant::kind to StringConstant::unicode (#7180) 2023-09-06 07:39:25 +00:00
token.rs Rename parser mode from Jupyter to Ipython (#7153) 2023-09-05 14:12:26 +00:00
typing.rs Replace .map_or(false, $closure) with .is_some_and(closure) (#6244) 2023-08-01 19:29:42 +02:00