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