1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Compare output as JSON to avoid sort issues.

This commit is contained in:
Matt Clay 2019-01-10 16:24:25 -08:00
parent f29256e4da
commit 6c7003127f

View file

@ -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}'