fix: remove redundant test TestRemove
#8
@@ -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) {
|
func TestDropExistingItem(t *testing.T) {
|
||||||
assert := assert.New(t)
|
assert := assert.New(t)
|
||||||
key, value := 0, true
|
key, value := 0, true
|
||||||
|
|||||||
Reference in New Issue
Block a user