databricks-cli/internal/secrets_test.go

13 lines
266 B
Go
Raw Normal View History

package internal
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestSecretsCreateScopeErrWhenNoArguments(t *testing.T) {
_, _, err := RequireErrorRun(t, "secrets", "create-scope")
assert.Equal(t, "accepts 1 arg(s), received 0", err.Error())
}