Debian Codegraph @

go/analysis/internal/checker/testdata/noend.txt

raw
1 # Test that a missing SuggestedFix.End position is correctly
2 # interpreted as if equal to SuggestedFix.Pos (see issue #64199).
3
4 checker -noend -fix example.com/a
5 exit 0
6
7 -- go.mod --
8 module example.com
9 go 1.22
10
11 -- a/a.go --
12 package a
13
14 func f() {}
15
16 -- want/a/a.go --
17 package a
18
19 /*hello*/
20 func f() {}