migrate/driver/driver_test.go

12 lines
168 B
Go
Raw Normal View History

2014-08-11 01:42:57 +00:00
package driver
import (
"testing"
)
func TestNew(t *testing.T) {
2014-08-13 12:34:40 +00:00
if _, err := New("unknown://url"); err == nil {
2014-08-11 01:42:57 +00:00
t.Error("no error although driver unknown")
}
}