Skip to content

Commit bdf4566

Browse files
committed
fix: fix trace_stack_test.go
1 parent 0e4a013 commit bdf4566

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

trace_stack_test.go

+4-10
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ func TestTraceStack(t *testing.T) {
1818
SymbolName: "a",
1919
Location: Location{
2020
DocumentPath: "a",
21-
StartPos: Position{
22-
Line: 1,
23-
Column: 1,
24-
Index: 0,
25-
},
21+
StartPos: Position{1, 1, 0},
22+
EndPos: Position{1, 1, 0},
2623
},
2724
})
2825

@@ -36,11 +33,8 @@ func TestTraceStack(t *testing.T) {
3633
SymbolName: "bbb",
3734
Location: Location{
3835
DocumentPath: "ab/aa",
39-
StartPos: Position{
40-
Line: 1,
41-
Column: 1,
42-
Index: 0,
43-
},
36+
StartPos: Position{1, 1, 0},
37+
EndPos: Position{1, 1, 0},
4438
},
4539
})
4640

0 commit comments

Comments
 (0)