From d746f9d4c91c7ca817812ea8d87f73c590e2635b Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:34:59 +0200 Subject: [PATCH] Catch more broader error messages. (#5212) (#5213) (cherry picked from commit fa490519128c9e15896560365fa13f4745e080dc) Co-authored-by: Felix Fontein --- tests/integration/targets/lookup_dependent/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/lookup_dependent/tasks/main.yml b/tests/integration/targets/lookup_dependent/tasks/main.yml index 0f1b8d34fb..c4d850d821 100644 --- a/tests/integration/targets/lookup_dependent/tasks/main.yml +++ b/tests/integration/targets/lookup_dependent/tasks/main.yml @@ -132,7 +132,7 @@ assert: that: - eval_error is failed - - eval_error.msg.startswith("Caught \"'foo' is undefined\" while evaluating ") + - eval_error.msg.startswith("Caught \"'foo' is undefined") - name: "Test 5: same variable name reused" debug: @@ -147,7 +147,7 @@ assert: that: - eval_error is failed - - eval_error.msg.startswith("Caught \"'x' is undefined\" while evaluating ") + - eval_error.msg.startswith("Caught \"'x' is undefined") - name: "Test 6: multi-value dict" debug: