Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 927845d

Browse files
author
Juanjo Alvarez
committed
Updated integration tests
1 parent fbcd41d commit 927845d

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

tests/other_statements.py.native

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@
9494
"names": [
9595
{
9696
"ast_type": "Name",
97-
"col_offset": 4,
97+
"col_offset": 12,
98+
"end_col_offset": 12,
99+
"end_lineno": 5,
98100
"id": "a",
99101
"lineno": 5
100102
}
@@ -109,7 +111,9 @@
109111
"names": [
110112
{
111113
"ast_type": "Name",
112-
"col_offset": 4,
114+
"col_offset": 14,
115+
"end_col_offset": 14,
116+
"end_lineno": 6,
113117
"id": "b",
114118
"lineno": 6
115119
}

tests/other_statements.py.uast

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,14 @@ Module {
181181
. . . . . . . . . Roles: SimpleIdentifier,Expression
182182
. . . . . . . . . TOKEN "a"
183183
. . . . . . . . . StartPosition: {
184-
. . . . . . . . . . Offset: 30
184+
. . . . . . . . . . Offset: 38
185185
. . . . . . . . . . Line: 5
186-
. . . . . . . . . . Col: 4
186+
. . . . . . . . . . Col: 12
187+
. . . . . . . . . }
188+
. . . . . . . . . EndPosition: {
189+
. . . . . . . . . . Offset: 38
190+
. . . . . . . . . . Line: 5
191+
. . . . . . . . . . Col: 12
187192
. . . . . . . . . }
188193
. . . . . . . . . Properties: {
189194
. . . . . . . . . . internalRole: names
@@ -209,9 +214,14 @@ Module {
209214
. . . . . . . . . Roles: SimpleIdentifier,Expression
210215
. . . . . . . . . TOKEN "b"
211216
. . . . . . . . . StartPosition: {
212-
. . . . . . . . . . Offset: 43
217+
. . . . . . . . . . Offset: 53
218+
. . . . . . . . . . Line: 6
219+
. . . . . . . . . . Col: 14
220+
. . . . . . . . . }
221+
. . . . . . . . . EndPosition: {
222+
. . . . . . . . . . Offset: 53
213223
. . . . . . . . . . Line: 6
214-
. . . . . . . . . . Col: 4
224+
. . . . . . . . . . Col: 14
215225
. . . . . . . . . }
216226
. . . . . . . . . Properties: {
217227
. . . . . . . . . . internalRole: names

0 commit comments

Comments
 (0)