pulumi/sdk/go/pulumix
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
..
apply_state.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
applyn.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
applyn_test.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
array.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
array_test.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
combinators.go Rename Output.Join to Flatten (#13882) 2023-09-06 15:05:24 +00:00
combinators_test.go Rename Output.Join to Flatten (#13882) 2023-09-06 15:05:24 +00:00
context_test.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
gen.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00
map.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
map_test.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
ptr.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
ptr_test.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
types.go sdk/go/pulumix: Rename SpecializeOutput to Cast (#13769) 2023-08-28 19:41:49 +00:00
types_ext_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
types_test.go sdk/go: Add pulumix subpackage (#13509) 2023-08-28 15:38:23 +00:00