Update trie_test.go

This commit is contained in:
Martin Holst Swende 2023-11-24 09:02:02 +01:00 committed by GitHub
parent 0ca92e97ec
commit bd3deae71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,6 +372,9 @@ func TestRandomCases(t *testing.T) {
// Instances of this test are created by Generate. // Instances of this test are created by Generate.
type randTest []randTestStep type randTest []randTestStep
// compile-time interface check
var _ quick.Generator = (randTest)(nil)
type randTestStep struct { type randTestStep struct {
op int op int
key []byte // for opUpdate, opDelete, opGet key []byte // for opUpdate, opDelete, opGet