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

Method TestDownAbc

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

Source from the content-addressed store, hash-verified

59}
60
61func (*ToApplyMigrateSuite) TestDownAbc(c *C) {
62 toApply := ToApply(toapplyMigrations, "abc", Down)
63 c.Assert(toApply, HasLen, 1)
64 c.Assert(toApply[0], Equals, toapplyMigrations[0])
65}
66
67func (*ToApplyMigrateSuite) TestDownAll(c *C) {
68 toApply := ToApply(toapplyMigrations, "efg", Down)

Callers

nothing calls this directly

Calls 1

ToApplyFunction · 0.85

Tested by

no test coverage detected