Skip to content

Commit 6e89b3a

Browse files
committed
Fix end location in with statements.
1 parent 6a174da commit 6e89b3a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎parser/src/snapshots/rustpython_parser__with__tests__with_statement.snap‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,8 +2098,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
20982098
},
20992099
end_location: Some(
21002100
Location {
2101-
row: 24,
2102-
column: 0,
2101+
row: 23,
2102+
column: 19,
21032103
},
21042104
),
21052105
custom: (),
@@ -2172,8 +2172,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
21722172
},
21732173
end_location: Some(
21742174
Location {
2175-
row: 25,
2176-
column: 0,
2175+
row: 24,
2176+
column: 20,
21772177
},
21782178
),
21792179
custom: (),
@@ -2246,8 +2246,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
22462246
},
22472247
end_location: Some(
22482248
Location {
2249-
row: 26,
2250-
column: 0,
2249+
row: 25,
2250+
column: 27,
22512251
},
22522252
),
22532253
custom: (),
@@ -2360,8 +2360,8 @@ expression: "parse_program(source, \"<test>\").unwrap()"
23602360
},
23612361
end_location: Some(
23622362
Location {
2363-
row: 27,
2364-
column: 0,
2363+
row: 26,
2364+
column: 28,
23652365
},
23662366
),
23672367
custom: (),

0 commit comments

Comments
 (0)