mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Compare output as JSON to avoid sort issues.
This commit is contained in:
@@ -35,5 +35,4 @@
|
||||
- assert:
|
||||
that:
|
||||
- direct is failed
|
||||
- |
|
||||
direct.stdout == '{"msg": "No argument file provided", "failed": true}'
|
||||
- 'direct.stdout | from_json == {"msg": "No argument file provided", "failed": true}'
|
||||
|
||||
Reference in New Issue
Block a user