(t *testing.T)
| 157 | } |
| 158 | |
| 159 | func TestIsPermanent(t *testing.T) { |
| 160 | t.Parallel() |
| 161 | assert.Check(t, lifecycle.IsPermanent(lifecycle.ErrAuthRequired)) |
| 162 | assert.Check(t, lifecycle.IsPermanent(lifecycle.ErrCapabilityMissing)) |
| 163 | assert.Check(t, !lifecycle.IsPermanent(lifecycle.ErrTransport)) |
| 164 | assert.Check(t, !lifecycle.IsPermanent(nil)) |
| 165 | } |
nothing calls this directly
no test coverage detected