Skip to content

Commit

Permalink
delete minor unreachable code caused by t.Fatal (#5916)
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
  • Loading branch information
Abirdcfly authored Aug 9, 2022
1 parent 0233ddf commit 7c3dedb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/testutils/tar.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ func AssertFilesInTar(t testing.TB, tr *tar.Reader, expectedFiles []ExpectedFile

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

dupes[header.Name] = true
Expand Down

0 comments on commit 7c3dedb

Please sign in to comment.