pulumi/sdk/go/pulumi/internals
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
..
empty.s sdk/go: Move new unsafe API to internals 2022-10-05 00:35:24 -07:00
outputs.go chore: Add copyright header comments 2022-10-05 01:01:10 -07:00
outputs_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00