mirror of https://github.com/astral-sh/ruff
Fix end location in with statements.
This commit is contained in:
parent
6a174dae45
commit
6e89b3ab1a
|
|
@ -2098,8 +2098,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
end_location: Some(
|
end_location: Some(
|
||||||
Location {
|
Location {
|
||||||
row: 24,
|
row: 23,
|
||||||
column: 0,
|
column: 19,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
custom: (),
|
custom: (),
|
||||||
|
|
@ -2172,8 +2172,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
end_location: Some(
|
end_location: Some(
|
||||||
Location {
|
Location {
|
||||||
row: 25,
|
row: 24,
|
||||||
column: 0,
|
column: 20,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
custom: (),
|
custom: (),
|
||||||
|
|
@ -2246,8 +2246,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
end_location: Some(
|
end_location: Some(
|
||||||
Location {
|
Location {
|
||||||
row: 26,
|
row: 25,
|
||||||
column: 0,
|
column: 27,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
custom: (),
|
custom: (),
|
||||||
|
|
@ -2360,8 +2360,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
end_location: Some(
|
end_location: Some(
|
||||||
Location {
|
Location {
|
||||||
row: 27,
|
row: 26,
|
||||||
column: 0,
|
column: 28,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
custom: (),
|
custom: (),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue