mirror of https://github.com/databricks/cli.git
15 lines
343 B
Go
15 lines
343 B
Go
package internal
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestAccAlertsCreateErrWhenNoArguments(t *testing.T) {
|
|
t.Log(GetEnvOrSkipTest(t, "CLOUD_ENV"))
|
|
|
|
_, _, err := RequireErrorRun(t, "alerts", "create")
|
|
assert.Equal(t, "please provide command input in JSON format by specifying the --json flag", err.Error())
|
|
}
|