MCPcopy
hub / github.com/rubenv/sql-migrate / TestGetDone

Method TestGetDone

toapply_test.go:41–47  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

39}
40
41func (*ToApplyMigrateSuite) TestGetDone(c *C) {
42 toApply := ToApply(toapplyMigrations, "efg", Up)
43 c.Assert(toApply, HasLen, 0)
44
45 toApply = ToApply(toapplyMigrations, "zzz", Up)
46 c.Assert(toApply, HasLen, 0)
47}
48
49func (*ToApplyMigrateSuite) TestDownDone(c *C) {
50 toApply := ToApply(toapplyMigrations, "", Down)

Callers

nothing calls this directly

Calls 1

ToApplyFunction · 0.85

Tested by

no test coverage detected