Catch more broader error messages. (#5212) (#5214)

(cherry picked from commit fa49051912)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2022-09-03 11:35:03 +02:00
committed by GitHub
parent 895ae3b73e
commit 107a1729a4

View File

@@ -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: