summaryrefslogtreecommitdiff
path: root/internal/cli/jobs/command_test.go
blob: ec4912d135c5a7d2e4b89a0a4ffbe01089a1c408 (plain)
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)
}