Skip to content

Commit b6636de

Browse files
authored
internal/endtoend: remove %w (#354)
"go vet" warns about this, presumably because a Fatal directive is not catchable or re-throwable.
1 parent 8c09e3f commit b6636de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/endtoend/endtoend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func expectedStderr(t *testing.T, dir string) string {
134134
}
135135
rd, err := os.Open(filepath.Join(dir, file.Name()))
136136
if err != nil {
137-
t.Fatalf("could not open %s: %w", file.Name(), err)
137+
t.Fatalf("could not open %s: %v", file.Name(), err)
138138
}
139139
scanner := bufio.NewScanner(rd)
140140
capture := false

0 commit comments

Comments
 (0)