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: - assert:
that: that:
- direct is failed - direct is failed
- | - 'direct.stdout | from_json == {"msg": "No argument file provided", "failed": true}'
direct.stdout == '{"msg": "No argument file provided", "failed": true}'