From 3e1a3354f0156641fb5293b68174086050fb5229 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Tue, 21 Jan 2025 18:25:26 +0100 Subject: [PATCH] Fix test with error message --- bundle/config/mutator/set_variables_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/mutator/set_variables_test.go b/bundle/config/mutator/set_variables_test.go index 941925869..ece6c8308 100644 --- a/bundle/config/mutator/set_variables_test.go +++ b/bundle/config/mutator/set_variables_test.go @@ -108,7 +108,7 @@ func TestSetVariablesErrorsIfAValueCouldNotBeResolved(t *testing.T) { require.NoError(t, err) _, err = setVariable(context.Background(), v, &variable, "foo") - assert.ErrorContains(t, err, "no value assigned to required variable foo. Assignment can be done through the \"--var\" or \"--var-file\" flag or by setting the BUNDLE_VAR_foo environment variable") + assert.ErrorContains(t, err, "no value assigned to required variable foo. Assignment can be done using \"--var\" or \"--var-file\", by setting the BUNDLE_VAR_foo environment variable, or in .databricks/bundle//vars.json file") } func TestSetVariablesMutator(t *testing.T) {