Skip to content

Commit

Permalink
sumdb: fix minor unreachable code caused by t.Fatalf
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly committed Jul 21, 2022
1 parent 79cabaa commit 61f86d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumdb/internal/tlog/tlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 61f86d8

Please sign in to comment.