fix: redundant test TestRemove
All checks were successful
CI / Makefile Lint (pull_request) Successful in 23s
CI / Go Lint (pull_request) Successful in 28s
CI / Markdown Lint (pull_request) Successful in 10s
CI / Unit Tests (pull_request) Successful in 33s
CI / Fuzz Tests (pull_request) Successful in 54s
CI / Mutation Tests (pull_request) Successful in 48s
All checks were successful
CI / Makefile Lint (pull_request) Successful in 23s
CI / Go Lint (pull_request) Successful in 28s
CI / Markdown Lint (pull_request) Successful in 10s
CI / Unit Tests (pull_request) Successful in 33s
CI / Fuzz Tests (pull_request) Successful in 54s
CI / Mutation Tests (pull_request) Successful in 48s
This commit is contained in:
@@ -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