(t *testing.T, d source.Driver)
| 646 | } |
| 647 | |
| 648 | func TestGetLocalVersion(t *testing.T, d source.Driver) { |
| 649 | expectedLocalVersion := uint64(8) |
| 650 | version, err := d.GetLocalVersion() |
| 651 | if err != nil { |
| 652 | t.Fatalf("GetLocalVersion: expected err not to be nil") |
| 653 | } |
| 654 | |
| 655 | if version != expectedLocalVersion { |
| 656 | t.Fatalf("GetLocalVersion: expected version to be %d, but got %d", expectedLocalVersion, version) |
| 657 | } |
| 658 | } |
| 659 | |
| 660 | func TestGetUnappliedMigrations(t *testing.T, d source.Driver) { |
| 661 | tt := []struct { |
no test coverage detected