[no-relnote] Fix lint error in test

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2024-08-19 11:36:16 +02:00
parent 852a7a62a5
commit 6d7dd04824

View File

@ -100,7 +100,7 @@ func TestMounts(t *testing.T) {
lookup: &lookup.LocatorMock{
LocateFunc: func(s string) ([]string, error) {
if s == "error" {
return nil, fmt.Errorf(s)
return nil, fmt.Errorf("error")
}
return []string{s}, nil
},