mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Catch more broader error messages. (#5212)
This commit is contained in:
parent
82d69bb871
commit
fa49051912
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue