From 1fea4b11f90b571eeebabb62f2d1df85c39c2324 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 13 Dec 2024 18:24:42 +0100 Subject: [PATCH] fix: govet tests --- pkg/golinters/govet/testdata/govet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/golinters/govet/testdata/govet.go b/pkg/golinters/govet/testdata/govet.go index 4830306735af6..9c0526512f0ed 100644 --- a/pkg/golinters/govet/testdata/govet.go +++ b/pkg/golinters/govet/testdata/govet.go @@ -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) {