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

Function TestDialUnknownError

driver_test.go:2029–2032  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2027}
2028
2029func TestDialUnknownError(t *testing.T) {
2030 testErr := fmt.Errorf("test")
2031 testDialError(t, testErr, testErr)
2032}
2033
2034func TestDialNonRetryableNetErr(t *testing.T) {
2035 testErr := netErrorMock{}

Callers

nothing calls this directly

Calls 1

testDialErrorFunction · 0.85

Tested by

no test coverage detected