core/redis: remove redis

This commit is contained in:
Caleb Doxsey 2023-11-28 12:11:20 -07:00
parent d610b9c25c
commit adfc484adb
27 changed files with 24 additions and 1187 deletions

View file

@ -7,6 +7,7 @@ import (
"path/filepath"
"reflect"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"github.com/stretchr/testify/assert"
@ -15,6 +16,8 @@ import (
"google.golang.org/protobuf/testing/protocmp"
)
const maxWait = time.Minute * 10
// AssertProtoEqual asserts that two protobuf messages equal. Slices of messages are also supported.
func AssertProtoEqual(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{}) bool {
t.Helper()
@ -70,8 +73,3 @@ func ModRoot() string {
}
return ""
}
// TestDataRoot returns the testdata directory.
func TestDataRoot() string {
return filepath.Join(ModRoot(), "internal", "testutil", "testdata")
}