diff --git a/tests/acceptance/00_basics/def.json/policy_server_classes.cf.json b/tests/acceptance/00_basics/def.json/policy_server_classes.cf.json index bd84880689..1cc6c60664 100644 --- a/tests/acceptance/00_basics/def.json/policy_server_classes.cf.json +++ b/tests/acceptance/00_basics/def.json/policy_server_classes.cf.json @@ -1,6 +1,6 @@ { "classes": { - "test_class_policy_server": [ "am_policy_hub" ], + "test_class_policy_server": [ "am_policy_hub" ] } } diff --git a/tests/acceptance/01_vars/02_functions/data_expand.cf.json b/tests/acceptance/01_vars/02_functions/data_expand.cf.json index 50747744be..ab7016be70 100644 --- a/tests/acceptance/01_vars/02_functions/data_expand.cf.json +++ b/tests/acceptance/01_vars/02_functions/data_expand.cf.json @@ -1,5 +1,5 @@ { "plain data": "nothing", "$(x)": "nothing again", - "$(y)": "$(nosuchvar)", + "$(y)": "$(nosuchvar)" } diff --git a/tests/acceptance/01_vars/02_functions/nth_datacontainer.cf.json b/tests/acceptance/01_vars/02_functions/nth_datacontainer.cf.json index 99251e38e4..483c0ad72a 100644 --- a/tests/acceptance/01_vars/02_functions/nth_datacontainer.cf.json +++ b/tests/acceptance/01_vars/02_functions/nth_datacontainer.cf.json @@ -7,5 +7,5 @@ "integer_2": 987654321, "string_2": "Othello? Where art thou now?", "boolean_2": false, - "null": null, + "null": null } diff --git a/tests/acceptance/01_vars/02_functions/validdata.cf b/tests/acceptance/01_vars/02_functions/validdata.cf index c25d3d0b8f..931ebe816b 100644 --- a/tests/acceptance/01_vars/02_functions/validdata.cf +++ b/tests/acceptance/01_vars/02_functions/validdata.cf @@ -19,12 +19,12 @@ bundle agent test "valid_json" string => "should appear", if => validdata(readfile("$(this.promise_filename).json", inf), "JSON"); "invalid_json" string => "should not appear", - if => validdata(readfile("$(this.promise_filename).inv.json", inf), "JSON"); + if => validdata(readfile("$(this.promise_filename).x.json", inf), "JSON"); "valid_validjson" string => "should appear", if => validjson(readfile("$(this.promise_filename).json", inf)); "invalid_validjson" string => "should not appear", - if => validjson(readfile("$(this.promise_filename).inv.json", inf)); + if => validjson(readfile("$(this.promise_filename).x.json", inf)); } ########################################################### diff --git a/tests/acceptance/01_vars/02_functions/validdata.cf.inv.json b/tests/acceptance/01_vars/02_functions/validdata.cf.x.json similarity index 100% rename from tests/acceptance/01_vars/02_functions/validdata.cf.inv.json rename to tests/acceptance/01_vars/02_functions/validdata.cf.x.json diff --git a/tests/acceptance/01_vars/02_functions/validjson_strict.cf b/tests/acceptance/01_vars/02_functions/validjson_strict.cf index 7fde5586fb..e63b7745ef 100644 --- a/tests/acceptance/01_vars/02_functions/validjson_strict.cf +++ b/tests/acceptance/01_vars/02_functions/validjson_strict.cf @@ -16,7 +16,7 @@ bundle agent check { vars: "json" string => readfile("$(this.promise_dirname)/validdata.cf.json", inf); - "invjson" string => readfile("$(this.promise_dirname)/validdata.cf.inv.json", inf); + "invjson" string => readfile("$(this.promise_dirname)/validdata.cf.x.json", inf); "mystring" string => "\"foo\""; "mynumber" string => "3.14"; "mybool" string => "true"; diff --git a/tests/acceptance/10_files/file_select_attrs_consistent_behavior/rules.json b/tests/acceptance/10_files/file_select_attrs_consistent_behavior/rules.json index 352beedf05..be311e4319 100644 --- a/tests/acceptance/10_files/file_select_attrs_consistent_behavior/rules.json +++ b/tests/acceptance/10_files/file_select_attrs_consistent_behavior/rules.json @@ -1,6 +1,6 @@ [ { -"location": "/tmp/logs/tidy" +"location": "/tmp/logs/tidy", "context": "any", "action": "TIDY", "frequency": "10", diff --git a/tests/unit/data/mustache_extra.json b/tests/unit/data/mustache_extra.json index e76a54a688..a69973b933 100644 --- a/tests/unit/data/mustache_extra.json +++ b/tests/unit/data/mustache_extra.json @@ -61,6 +61,6 @@ }, "template": "{{#list}}{{k}}={{v}}, {{/list}}", "expected": "789=0, =true, -1=-2, " - }, + } ] }