Skip to content

Commit

Permalink
Use named method to increase readability
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson committed Dec 9, 2024
1 parent 4a63f51 commit 173cee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func TestEntryBundleRoundTrip(t *testing.T) {
if err != nil {
t.Errorf("Add got err: %v", err)
}
entryBundleRaw, err := s.ReadEntryBundle(ctx, entryIndex/256, uint8(entryIndex+1%layout.EntryBundleWidth))
entryBundleRaw, err := s.ReadEntryBundle(ctx, entryIndex/256, layout.PartialTileSize(0, entryIndex, entryIndex+1))
if err != nil {
t.Fatalf("ReadEntryBundle got err: %v", err)
}
Expand Down

0 comments on commit 173cee0

Please sign in to comment.