diff --git a/test/integration/targets/filters/files/foo.txt b/test/integration/targets/filters/files/foo.txt index c5af545d3a9..43c0dbe5e89 100644 --- a/test/integration/targets/filters/files/foo.txt +++ b/test/integration/targets/filters/files/foo.txt @@ -11,7 +11,7 @@ Dumping the same structure to YAML Dumping the same structure to JSON, but don't pretty print -["this is a list element", {"this": "is a hash element in a list", "where": "endor", "warp": 9}] +["this is a list element", {"this": "is a hash element in a list", "warp": 9, "where": "endor"}] Dumping the same structure to YAML, but don't pretty print diff --git a/test/integration/targets/filters/templates/foo.j2 b/test/integration/targets/filters/templates/foo.j2 index cf592f98cc2..c5979c76c7d 100644 --- a/test/integration/targets/filters/templates/foo.j2 +++ b/test/integration/targets/filters/templates/foo.j2 @@ -7,7 +7,7 @@ Dumping the same structure to YAML Dumping the same structure to JSON, but don't pretty print -{{ some_structure | to_json }} +{{ some_structure | to_json(sort_keys=true) }} Dumping the same structure to YAML, but don't pretty print