MCPcopy Create free account
hub / github.com/codnect/chrono / TestNewSchedulerTask_WithLocation

Function TestNewSchedulerTask_WithLocation

task_test.go:17–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestNewSchedulerTask_WithLocation(t *testing.T) {
18 _, err := CreateSchedulerTask(func(ctx context.Context) {
19
20 }, WithLocation("Europe/Istanbul"))
21 assert.Nil(t, err)
22}
23
24func TestNewSchedulerTask_WithInvalidLocation(t *testing.T) {
25 _, err := CreateSchedulerTask(func(ctx context.Context) {

Callers

nothing calls this directly

Calls 2

CreateSchedulerTaskFunction · 0.85
WithLocationFunction · 0.85

Tested by

no test coverage detected