Skip to content

Commit 6d7dd04

Browse files
committed
[no-relnote] Fix lint error in test
Signed-off-by: Evan Lezar <[email protected]>
1 parent 852a7a6 commit 6d7dd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/discover/mounts_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func TestMounts(t *testing.T) {
100100
lookup: &lookup.LocatorMock{
101101
LocateFunc: func(s string) ([]string, error) {
102102
if s == "error" {
103-
return nil, fmt.Errorf(s)
103+
return nil, fmt.Errorf("error")
104104
}
105105
return []string{s}, nil
106106
},

0 commit comments

Comments
 (0)