(t *testing.T, dsn string)
| 28 | } |
| 29 | |
| 30 | func parseConfig(t *testing.T, dsn string) *mysql.Config { |
| 31 | t.Helper() |
| 32 | |
| 33 | config, err := mysql.ParseDSN(dsn) |
| 34 | if err != nil { |
| 35 | t.Fatalf("expected parseable DSN, got %v", err) |
| 36 | } |
| 37 | return config |
| 38 | } |
| 39 | |
| 40 | func dsnQuery(t *testing.T, dsn string) url.Values { |
| 41 | t.Helper() |
no outgoing calls
no test coverage detected