(t *testing.T)
| 29 | } |
| 30 | |
| 31 | func TestClassify_FileNotExist(t *testing.T) { |
| 32 | t.Parallel() |
| 33 | got := lifecycle.Classify(fmt.Errorf("%w", os.ErrNotExist)) |
| 34 | assert.Check(t, errors.Is(got, lifecycle.ErrServerUnavailable)) |
| 35 | } |
| 36 | |
| 37 | func TestClassify_EOF(t *testing.T) { |
| 38 | t.Parallel() |