Skip to content

Commit

Permalink
test: delete minor unreachable code caused by t.Fatal (#1285)
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <[email protected]>
  • Loading branch information
Abirdcfly authored Aug 10, 2022
1 parent becd48e commit 654f3f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builder/build/code_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func Test1(t *testing.T) {
for hdr, err := tr.Next(); err != io.EOF; hdr, err = tr.Next() { // next range tar info
if err != nil {
t.Fatal(err)
continue
}
// 读取文件信息
fi := hdr.FileInfo()
Expand Down

0 comments on commit 654f3f6

Please sign in to comment.