migrate/driver/driver_test.go

12 lines
168 B
Go

package driver
import (
"testing"
)
func TestNew(t *testing.T) {
if _, err := New("unknown://url"); err == nil {
t.Error("no error although driver unknown")
}
}