mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-13 08:30:03 +01:00
Separate cmd package for easier importing (#11)
This commit is contained in:
parent
247d7296f8
commit
e393f387b3
21 changed files with 408 additions and 368 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package dbmate
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
|
@ -22,6 +22,6 @@ func TestGetDriver_MySQL(t *testing.T) {
|
|||
|
||||
func TestGetDriver_Error(t *testing.T) {
|
||||
drv, err := GetDriver("foo")
|
||||
require.Equal(t, "Unknown driver: foo", err.Error())
|
||||
require.Equal(t, "unknown driver: foo", err.Error())
|
||||
require.Nil(t, drv)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue