(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestInterpretError(t *testing.T) { |
| 29 | t.Parallel() |
| 30 | |
| 31 | require.EqualError(t, interpretError(errors.New("an error")), "an error") |
| 32 | require.ErrorIs(t, interpretError(sql.ErrNoRows), rivertype.ErrNotFound) |
| 33 | require.NoError(t, interpretError(nil)) |
| 34 | } |
| 35 | |
| 36 | func TestTimeString(t *testing.T) { |
| 37 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…