(t *testing.T)
| 211 | } |
| 212 | |
| 213 | func TestAdaptContextCanceled(t *testing.T) { |
| 214 | // context.DeadlineExceeded is preserved exactly. |
| 215 | |
| 216 | tt := testutils.T{T: t} |
| 217 | newErr := network(t, context.DeadlineExceeded) |
| 218 | tt.CheckEqual(newErr, context.DeadlineExceeded) |
| 219 | } |
| 220 | |
| 221 | func TestAdaptOsErrors(t *testing.T) { |
| 222 | // The special os error types are preserved exactly. |
nothing calls this directly
no test coverage detected
searching dependent graphs…