MCPcopy
hub / github.com/go-sql-driver/mysql / TestErrorsStrictIgnoreNotes

Function TestErrorsStrictIgnoreNotes

errors_test.go:39–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

37}
38
39func TestErrorsStrictIgnoreNotes(t *testing.T) {
40 runTests(t, dsn+"&sql_notes=false", func(dbt *DBTest) {
41 dbt.mustExec("DROP TABLE IF EXISTS does_not_exist")
42 })
43}
44
45func TestMySQLErrIs(t *testing.T) {
46 infraErr := &MySQLError{Number: 1234, Message: "the server is on fire"}

Callers

nothing calls this directly

Calls 2

runTestsFunction · 0.85
mustExecMethod · 0.80

Tested by

no test coverage detected