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

Method TestGetAbc

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

Source from the content-addressed store, hash-verified

26}
27
28func (*ToApplyMigrateSuite) TestGetAbc(c *C) {
29 toApply := ToApply(toapplyMigrations, "abc", Up)
30 c.Assert(toApply, HasLen, 2)
31 c.Assert(toApply[0], Equals, toapplyMigrations[1])
32 c.Assert(toApply[1], Equals, toapplyMigrations[2])
33}
34
35func (*ToApplyMigrateSuite) TestGetCde(c *C) {
36 toApply := ToApply(toapplyMigrations, "cde", Up)

Callers

nothing calls this directly

Calls 1

ToApplyFunction · 0.85

Tested by

no test coverage detected