pulumi/sdk/go/pulumi-language-go
Fraser Waters 3560333ae6
Clean up uses of .Error() (#14965)
Combination of a few cleanups.

1. Don't call .Error() on errors that are being passed to "%s" format
functions. Format will call `Error()` itself.
2. Don't call assert.Error then assert.Equal/Contains, just use
assert.ErrorEqual/ErrorContains instead.
3. Use "%w" if appropriate, instead of "%v"/"%s".
2023-12-20 15:54:06 +00:00
..
testdata/sample fix(host/go): Allow Pulumi program in a subdir of the module 2023-05-17 13:20:38 -07:00
go.mod Bump golang.org/x/crypto to 0.17.0 (#14962) 2023-12-20 09:14:29 +00:00
go.sum Bump golang.org/x/crypto to 0.17.0 (#14962) 2023-12-20 09:14:29 +00:00
main.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
main_test.go Pass root and main info to language host methods (#14654) 2023-12-10 17:30:51 +00:00