File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ package storage
1212
1313import (
1414 "encoding/binary"
15- "testing"
1615
1716 "github.com/cockroachdb/cockroach/pkg/roachpb"
1817 "github.com/cockroachdb/cockroach/pkg/storage/enginepb"
@@ -147,7 +146,10 @@ var disableSimpleValueEncoding = util.ConstantWithMetamorphicTestBool(
147146
148147// DisableMetamorphicSimpleValueEncoding disables the disableSimpleValueEncoding
149148// metamorphic bool for the duration of a test, resetting it at the end.
150- func DisableMetamorphicSimpleValueEncoding (t testing.TB ) {
149+ func DisableMetamorphicSimpleValueEncoding (t interface {
150+ Helper ()
151+ Cleanup (func ())
152+ }) {
151153 t .Helper ()
152154 if disableSimpleValueEncoding {
153155 disableSimpleValueEncoding = false
You can’t perform that action at this time.
0 commit comments