MCPcopy Index your code
hub / github.com/coder/coder / mustLocation

Function mustLocation

coderd/schedule/cron/cron_test.go:278–283  ·  view source on GitHub ↗
(t *testing.T, s string)

Source from the content-addressed store, hash-verified

276}
277
278func mustLocation(t *testing.T, s string) *time.Location {
279 t.Helper()
280 loc, err := time.LoadLocation(s)
281 require.NoError(t, err)
282 return loc
283}

Callers 1

Test_WeeklyFunction · 0.70

Calls 1

HelperMethod · 0.65

Tested by

no test coverage detected