Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: govet tests
Browse files Browse the repository at this point in the history
ldez committed Dec 13, 2024
1 parent de889a5 commit 9408ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/golinters/govet/testdata/govet.go
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import (
)

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

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

0 comments on commit 9408ca1

Please sign in to comment.