Compare output as JSON to avoid sort issues.

pull/50791/head
Matt Clay 6 years ago
parent f29256e4da
commit 6c7003127f

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

Loading…
Cancel
Save