MCPcopy Index your code
hub / github.com/rubenv/sql-migrate / TestIntentionallyBadStatements

Method TestIntentionallyBadStatements

sqlparse/sqlparse_test.go:84–89  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

82}
83
84func (*SqlParseSuite) TestIntentionallyBadStatements(c *C) {
85 for _, test := range intentionallyBad {
86 _, err := ParseMigration(strings.NewReader(test))
87 c.Assert(err, NotNil)
88 }
89}
90
91func (*SqlParseSuite) TestJustComment(c *C) {
92 for _, test := range justAComment {

Callers

nothing calls this directly

Calls 1

ParseMigrationFunction · 0.70

Tested by

no test coverage detected