MCPcopy Create free account
hub / github.com/github/gh-aw / TestGetScheduleAtToAroundCodemod

Function TestGetScheduleAtToAroundCodemod

pkg/cli/codemod_schedule_test.go:12–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestGetScheduleAtToAroundCodemod(t *testing.T) {
13 codemod := getScheduleAtToAroundCodemod()
14
15 assert.Equal(t, "schedule-at-to-around-migration", codemod.ID)
16 assert.Equal(t, "Migrate schedule 'at' syntax to 'around' syntax", codemod.Name)
17 assert.NotEmpty(t, codemod.Description)
18 assert.Equal(t, "0.5.0", codemod.IntroducedIn)
19 require.NotNil(t, codemod.Apply)
20}
21
22func TestScheduleCodemod_DailyAt(t *testing.T) {
23 codemod := getScheduleAtToAroundCodemod()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected