Skip to content

Commit 7c3dedb

Browse files
authored
delete minor unreachable code caused by t.Fatal (#5916)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
1 parent 0233ddf commit 7c3dedb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/testutils/tar.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ func AssertFilesInTar(t testing.TB, tr *tar.Reader, expectedFiles []ExpectedFile
7474

7575
if dupes[header.Name] {
7676
t.Fatalf("File in tarball twice. This is invalid and will break when extracted: %v (%s)", header.Name, msg)
77-
break
7877
}
7978

8079
dupes[header.Name] = true

0 commit comments

Comments
 (0)