Skip to content

Commit 0aa004c

Browse files
bindings/go: Fix hang in snapshot generation. (#56)
1 parent 37f914d commit 0aa004c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/go/scip/testutil/format.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ func FormatSnapshot(
8282
occ := document.Occurrences[i]
8383
pos := scip.NewRange(occ.Range)
8484
if !pos.IsSingleLine() {
85+
i++
8586
continue
8687
}
8788
b.WriteString(commentSyntax)

0 commit comments

Comments
 (0)