Catch more broader error messages. (#5212)
parent
82d69bb871
commit
fa49051912
|
@ -136,7 +136,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- eval_error is failed
|
- 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"
|
- name: "Test 5: same variable name reused"
|
||||||
debug:
|
debug:
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- eval_error is failed
|
- 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"
|
- name: "Test 6: multi-value dict"
|
||||||
debug:
|
debug:
|
||||||
|
|
Loading…
Reference in New Issue