mydb/adapter/postgresql/generic_test.go

21 lines
314 B
Go
Raw Permalink Normal View History

2023-09-18 15:15:42 +08:00
package postgresql
import (
"testing"
"git.hexq.cn/tiglog/mydb/internal/testsuite"
"github.com/stretchr/testify/suite"
)
type GenericTests struct {
testsuite.GenericTestSuite
}
func (s *GenericTests) SetupSuite() {
s.Helper = &Helper{}
}
func TestGeneric(t *testing.T) {
suite.Run(t, &GenericTests{})
}