From 41b09ae680d30f6fa785a0b82555190de64a5dde Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Sat, 21 Mar 2026 16:24:52 +0000 Subject: [PATCH] fix: remove redundant test `TestRemove` (#8) This test offers the same functionality as `TestAddItem`. Reviewed-on: https://git.maximhutz.com/tools/go-cuckoo/pulls/8 Co-authored-by: M.V. Hutz Co-committed-by: M.V. Hutz --- cuckoo_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cuckoo_test.go b/cuckoo_test.go index b4dfddb..131194a 100644 --- a/cuckoo_test.go +++ b/cuckoo_test.go @@ -118,18 +118,6 @@ func TestGetMany(t *testing.T) { } } -func TestRemove(t *testing.T) { - assert := assert.New(t) - table := cuckoo.NewTable[int, bool]() - - assert.False(table.Has(0)) - - err := table.Put(0, true) - assert.NoError(err) - - assert.True(table.Has(0)) -} - func TestDropExistingItem(t *testing.T) { assert := assert.New(t) key, value := 0, true