(t *testing.T, layout, value string)
| 269 | } |
| 270 | |
| 271 | func mustParseTime(t *testing.T, layout, value string) time.Time { |
| 272 | t.Helper() |
| 273 | parsedTime, err := time.Parse(layout, value) |
| 274 | require.NoError(t, err) |
| 275 | return parsedTime |
| 276 | } |
| 277 | |
| 278 | func mustLocation(t *testing.T, s string) *time.Location { |
| 279 | t.Helper() |
no test coverage detected