From f126b79b938fcfafb878d0c6f3461eddff3b5a9c Mon Sep 17 00:00:00 2001 From: Dimitris Fasarakis Hilliard Date: Tue, 13 Dec 2022 13:28:17 +0200 Subject: [PATCH] Fix end location in with statements. --- ...thon_parser__with__tests__with_statement.snap | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/parser/src/snapshots/rustpython_parser__with__tests__with_statement.snap b/parser/src/snapshots/rustpython_parser__with__tests__with_statement.snap index b4880f3..ce0c20e 100644 --- a/parser/src/snapshots/rustpython_parser__with__tests__with_statement.snap +++ b/parser/src/snapshots/rustpython_parser__with__tests__with_statement.snap @@ -2098,8 +2098,8 @@ expression: "parse_program(source, \"\").unwrap()" }, end_location: Some( Location { - row: 24, - column: 0, + row: 23, + column: 19, }, ), custom: (), @@ -2172,8 +2172,8 @@ expression: "parse_program(source, \"\").unwrap()" }, end_location: Some( Location { - row: 25, - column: 0, + row: 24, + column: 20, }, ), custom: (), @@ -2246,8 +2246,8 @@ expression: "parse_program(source, \"\").unwrap()" }, end_location: Some( Location { - row: 26, - column: 0, + row: 25, + column: 27, }, ), custom: (), @@ -2360,8 +2360,8 @@ expression: "parse_program(source, \"\").unwrap()" }, end_location: Some( Location { - row: 27, - column: 0, + row: 26, + column: 28, }, ), custom: (),