Skip to content

Commit ba741e4

Browse files
committed
fix: govet tests
1 parent 79d4ddb commit ba741e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/golinters/govet/testdata/govet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
func GovetComposites() error {
12-
return &os.PathError{"first", "path", os.ErrNotExist} // want "composites: io/fs\\.PathError struct literal uses unkeyed fields"
12+
return &os.PathError{"first", "path", os.ErrNotExist} // want "composites: (os|io/fs)\\.PathError struct literal uses unkeyed fields"
1313
}
1414

1515
func GovetShadow(f io.Reader, buf []byte) (err error) {

0 commit comments

Comments
 (0)