Skip to content

Commit ab3a51d

Browse files
Fix nopanic testcase
1 parent 4f1f678 commit ab3a51d

File tree

1 file changed

+1
-1
lines changed
  • tools/analyzers/nopanic/testdata

1 file changed

+1
-1
lines changed

tools/analyzers/nopanic/testdata/init.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package testdata
22

3-
func Init() {
3+
func init() {
44
if false {
55
panic("this should never happen")
66
}

0 commit comments

Comments
 (0)