Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
278
func
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_Weekly
Function · 0.70
Calls
1
Helper
Method · 0.65
Tested by
no test coverage detected