This commit is contained in:
Shreyas Goenka 2024-05-02 16:41:31 +02:00
parent 27a1c7cbe4
commit 737903b773
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func TestDuplicateIdOnLoadReturnsErrorForJobAndPipeline(t *testing.T) {
func TestDuplicateIdOnLoadReturnsErrorForJobsAndExperiments(t *testing.T) { func TestDuplicateIdOnLoadReturnsErrorForJobsAndExperiments(t *testing.T) {
_, diags := Load("./testdata/duplicate_resource_names_in_root_job_and_experiment/databricks.yml") _, diags := Load("./testdata/duplicate_resource_names_in_root_job_and_experiment/databricks.yml")
assert.ErrorContains(t, diags.Error(), "multiple resources named foo (job at ./testdata/duplicate_resource_names_in_root_jobs_and_experiments/databricks.yml:10:7, experiment at ./testdata/duplicate_resource_names_in_root_jobs_and_experiments/databricks.yml:18:7)") assert.ErrorContains(t, diags.Error(), "multiple resources named foo (job at ./testdata/duplicate_resource_names_in_root_job_and_experiment/databricks.yml:10:7, experiment at ./testdata/duplicate_resource_names_in_root_job_and_experiment/databricks.yml:18:7)")
} }
func TestDuplicateIdOnMergeReturnsErrorForJobAndPipeline(t *testing.T) { func TestDuplicateIdOnMergeReturnsErrorForJobAndPipeline(t *testing.T) {