Skip to content

Commit cc9d2e6

Browse files
committed
fix tests
1 parent a0588f5 commit cc9d2e6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/parser_test/ast/Action.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ CHECK'local x <close> <const> = 1'
7373
},
7474
attrs = {
7575
type = "localattrs",
76+
start = 8,
77+
finish = 23,
7678
parent = "<IGNORE>",
7779
[1] = {
7880
type = "localattr",
@@ -108,6 +110,8 @@ CHECK'local x < const > = 1'
108110
},
109111
attrs = {
110112
type = "localattrs",
113+
start = 8,
114+
finish = 17,
111115
parent = "<IGNORE>",
112116
[1] = {
113117
type = "localattr",

test/parser_test/ast/Lua.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,8 @@ CHECK'local x <const>, y <close> = 1'
512512
},
513513
attrs = {
514514
type = "localattrs",
515+
start = 8,
516+
finish = 15,
515517
parent = "<IGNORE>",
516518
[1] = {
517519
type = "localattr",
@@ -531,6 +533,8 @@ CHECK'local x <const>, y <close> = 1'
531533
parent = "<IGNORE>",
532534
attrs = {
533535
type = "localattrs",
536+
start = 19,
537+
finish = 26,
534538
parent = "<IGNORE>",
535539
[1] = {
536540
type = "localattr",

0 commit comments

Comments
 (0)