@@ -36,13 +36,13 @@ func TestAwsSopsDecryptedKMSCorrectly(t *testing.T) {
3636 outputs := map [string ]helpers.TerraformOutput {}
3737 require .NoError (t , json .Unmarshal (stdout .Bytes (), & outputs ))
3838
39- assert .Equal (t , []interface {} {true , false }, outputs ["json_bool_array" ].Value )
40- assert .Equal (t , []interface {} {"example_value1" , "example_value2" }, outputs ["json_string_array" ].Value )
39+ assert .Equal (t , []any {true , false }, outputs ["json_bool_array" ].Value )
40+ assert .Equal (t , []any {"example_value1" , "example_value2" }, outputs ["json_string_array" ].Value )
4141 assert .InEpsilon (t , 1234.56789 , outputs ["json_number" ].Value , 0.0001 )
4242 assert .Equal (t , "example_value" , outputs ["json_string" ].Value )
4343 assert .Equal (t , "Welcome to SOPS! Edit this file as you please!" , outputs ["json_hello" ].Value )
44- assert .Equal (t , []interface {} {true , false }, outputs ["yaml_bool_array" ].Value )
45- assert .Equal (t , []interface {} {"example_value1" , "example_value2" }, outputs ["yaml_string_array" ].Value )
44+ assert .Equal (t , []any {true , false }, outputs ["yaml_bool_array" ].Value )
45+ assert .Equal (t , []any {"example_value1" , "example_value2" }, outputs ["yaml_string_array" ].Value )
4646 assert .InEpsilon (t , 1234.5679 , outputs ["yaml_number" ].Value , 0.0001 )
4747 assert .Equal (t , "example_value" , outputs ["yaml_string" ].Value )
4848 assert .Equal (t , "Welcome to SOPS! Edit this file as you please!" , outputs ["yaml_hello" ].Value )
0 commit comments