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:
parent
f29256e4da
commit
6c7003127f
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue