mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
21 lines
366 B
Go
21 lines
366 B
Go
package sqlite3
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/c9s/rockhopper"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestGetMigrationsMap(t *testing.T) {
|
|
mm := GetMigrationsMap()
|
|
assert.NotEmpty(t, mm)
|
|
}
|
|
|
|
func TestMergeMigrationsMap(t *testing.T) {
|
|
MergeMigrationsMap(map[int64]*rockhopper.Migration{
|
|
2: &rockhopper.Migration{},
|
|
3: &rockhopper.Migration{},
|
|
})
|
|
}
|