From 61f86d8082ae0019a6af1951508b029fd5b3c8c3 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Thu, 21 Jul 2022 21:25:12 +0800 Subject: [PATCH] sumdb: fix minor unreachable code caused by t.Fatalf --- sumdb/internal/tlog/tlog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumdb/internal/tlog/tlog_test.go b/sumdb/internal/tlog/tlog_test.go index 584e728c1..b8c742ac3 100644 --- a/sumdb/internal/tlog/tlog_test.go +++ b/sumdb/internal/tlog/tlog_test.go @@ -115,7 +115,7 @@ func TestTree(t *testing.T) { data, ok := tiles[tile] if !ok { t.Log(NewTiles(testH, 0, i+1)) - t.Fatalf("TileForIndex(%d, %d) = %v, not yet stored (i=%d, stored %d)", testH, j, tile.Path(), i, len(storage)) + t.Errorf("TileForIndex(%d, %d) = %v, not yet stored (i=%d, stored %d)", testH, j, tile.Path(), i, len(storage)) continue } h, err := HashFromTile(tile, data, int64(j))