migrate/database/stub/stub_test.go

17 lines
246 B
Go

package stub
import (
"testing"
dt "github.com/golang-migrate/migrate/v4/database/testing"
)
func Test(t *testing.T) {
s := &Stub{}
d, err := s.Open("")
if err != nil {
t.Fatal(err)
}
dt.Test(t, d, []byte("/* foobar migration */"))
}