pulumi/sdk/go/common/resource/config
Fraser Waters 0f4ddc2ccf
Use EqualError/ErrorContains instead of Error (#14737)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

This is a pass over all of /sdk to replace asserts that just checked we
had an error with asserts for what the error value is.

Just checking for an error is a weak test that can result in error paths
being broken and tests not detecting it.
2023-12-08 06:40:14 +00:00
..
testdata/repr [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
crypt.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
key.go Cleaning up a few pkg/errors uses 2022-11-02 14:20:44 +00:00
key_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
map.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
map_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
object.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
object_test.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
plaintext.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
plaintext_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
repr_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
value.go [cli] Add support for environments (#14140) 2023-10-10 01:35:39 +00:00
value_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00