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

Method TestDownCde

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

Source from the content-addressed store, hash-verified

52}
53
54func (*ToApplyMigrateSuite) TestDownCde(c *C) {
55 toApply := ToApply(toapplyMigrations, "cde", Down)
56 c.Assert(toApply, HasLen, 2)
57 c.Assert(toApply[0], Equals, toapplyMigrations[1])
58 c.Assert(toApply[1], Equals, toapplyMigrations[0])
59}
60
61func (*ToApplyMigrateSuite) TestDownAbc(c *C) {
62 toApply := ToApply(toapplyMigrations, "abc", Down)

Callers

nothing calls this directly

Calls 1

ToApplyFunction · 0.85

Tested by

no test coverage detected