ruff/crates/ruff_python_formatter/tests
Charlie Marsh d6a4283003
Fix range of unparenthesized tuple subject in match statement (#8101)
## Summary

This was just a bug in the parser ranges, probably since it was
initially implemented. Given `match n % 3, n % 5: ...`, the "subject"
(i.e., the tuple of two binary operators) was using the entire range of
the `match` statement.

Closes https://github.com/astral-sh/ruff/issues/8091.

## Test Plan

`cargo test`
2023-10-22 19:58:33 -04:00
..
snapshots Fix range of unparenthesized tuple subject in match statement (#8101) 2023-10-22 19:58:33 -04:00
fixtures.rs Formatter and parser refactoring (#7569) 2023-09-26 15:29:43 +02:00