mirror of https://github.com/databricks/cli.git
13 lines
273 B
Go
13 lines
273 B
Go
|
package config_tests
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestUndefinedJobLoadsWithError(t *testing.T) {
|
||
|
_, diags := loadTargetWithDiags("./undefined_job", "default")
|
||
|
assert.ErrorContains(t, diags.Error(), "job undefined is not defined")
|
||
|
}
|