(t *testing.T)
| 25 | ) |
| 26 | |
| 27 | func TestErrorPredicatesUnix(t *testing.T) { |
| 28 | tt := testutils.T{T: t} |
| 29 | |
| 30 | tt.Check(IsPermission(errors.Wrap(syscall.EACCES, "woo"))) |
| 31 | tt.Check(IsExist(errors.Wrap(syscall.ENOTEMPTY, "woo"))) |
| 32 | tt.Check(IsNotExist(errors.Wrap(syscall.ENOENT, "woo"))) |
| 33 | tt.Check(IsTimeout(errors.Wrap(syscall.EAGAIN, "woo"))) |
| 34 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…