summaryrefslogtreecommitdiff
path: root/internal/cli/reset/command_test.go
blob: 8192ca9cd3958be8ef7c8dacb7ed9c9687d1d7eb (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/v2/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)
}