summaryrefslogtreecommitdiff
path: root/internal/cli/reset/command_test.go
blob: 30e77556fa755e9809b8db3536dc7a7ccc956d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package reset_test

import (
	"testing"

	"github.com/roadrunner-server/roadrunner/v2023/internal/cli/reset"

	"github.com/stretchr/testify/assert"
)

func TestCommandProperties(t *testing.T) {
	path := ""
	f := false
	cmd := reset.NewCommand(&path, nil, &f)

	assert.Equal(t, "reset", cmd.Use)
	assert.NotNil(t, cmd.RunE)
}