test: correct lint issues

This commit is contained in:
Ed Overton
2024-03-11 15:16:11 -04:00
parent 4da880d6cb
commit 14a9a9849f

View File

@@ -530,9 +530,9 @@ func (l loaderNewThrowsError) New(_ string) (ifc.Loader, error) {
}
func (l loaderNewThrowsError) Load(location string) ([]byte, error) {
return l.baseLoader.Load(location)
return l.baseLoader.Load(location) //nolint:wrapcheck // baseLoader's error is sufficient
}
func (l loaderNewThrowsError) Cleanup() error {
return l.baseLoader.Cleanup()
return l.baseLoader.Cleanup() //nolint:wrapcheck // baseLoader's error is sufficient
}