From 2a1c4d196e314e79e55cf3a139b6fb4a4b4fca5c Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 20 Jan 2025 12:20:37 +0100 Subject: [PATCH] fix: Message in test --- 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 07a5c8214..941925869 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\" 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 through the \"--var\" or \"--var-file\" flag or by setting the BUNDLE_VAR_foo environment variable") } func TestSetVariablesMutator(t *testing.T) {