diff --git a/util/tempfile_test.go b/util/tempfile_test.go index 7a707ae..63b7f8c 100644 --- a/util/tempfile_test.go +++ b/util/tempfile_test.go @@ -182,6 +182,7 @@ func TestTempFile(t *testing.T) { for _, entry := range entries { if entry.Name() == filepath.Base(newPath) { found = true + break } } if !found {