fix: tests were out of date
All checks were successful
CI / Check PR Title (pull_request) Successful in 32s
CI / Go Lint (pull_request) Successful in 54s
CI / Markdown Lint (pull_request) Successful in 34s
CI / Makefile Lint (pull_request) Successful in 54s
CI / Unit Tests (pull_request) Successful in 54s
CI / Fuzz Tests (pull_request) Successful in 1m25s
CI / Mutation Tests (pull_request) Successful in 1m8s

This commit is contained in:
2026-04-16 21:12:39 -04:00
parent 24df23218c
commit b395d6e1f4
4 changed files with 18 additions and 18 deletions

View File

@@ -23,7 +23,7 @@ func TestLoad(t *testing.T) {
table := New[int, bool](Capacity(8))
for i := range 16 {
_, err := table.Put(i, true)
err := table.Put(i, true)
assert.NoError(err)
assert.Equal(float64(table.Size())/float64(table.TotalCapacity()), table.load())
}