1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package jobs_test import ( "testing" "github.com/roadrunner-server/roadrunner/v2023/internal/cli/jobs" "github.com/stretchr/testify/assert" ) func TestCommandProperties(t *testing.T) { path := "" f := false cmd := jobs.NewCommand(&path, nil, &f) assert.Equal(t, "jobs", cmd.Use) assert.NotNil(t, cmd.RunE) }