Catch more broader error messages. (#5212)

pull/5227/head
Felix Fontein 2022-09-03 11:25:41 +02:00 committed by GitHub
parent 82d69bb871
commit fa49051912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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