From 3710f28efbe19135af80b5109ee427fb220f94d1 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 3 Sep 2022 11:38:38 +0200 Subject: [PATCH] Catch more broader error messages. (#5212) (#5215) (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 c70ce5b6a4..b2f2097294 100644 --- a/tests/integration/targets/lookup_dependent/tasks/main.yml +++ b/tests/integration/targets/lookup_dependent/tasks/main.yml @@ -136,7 +136,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: @@ -151,7 +151,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: