pulumi/sdk/go/common/util/mapper
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
..
errors.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
mapper.go chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00
mapper_decode.go sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
mapper_encode.go Fix panic in mapper_encode (#14498) 2023-11-04 18:31:22 +00:00
mapper_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
object.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00