pulumi/sdk/go/internal
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
..
gen-pux-applyn sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
resource.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
rpc.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
rpc_test.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
state.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
state_test.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
types.go Update golangci-lint (#14624) 2023-11-21 15:16:13 +00:00
types_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
workgroup.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00
workgroup_test.go sdk/go: Move Output implementation to internal 2023-07-25 18:13:35 -07:00