pulumi/pkg/testing/integration
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
..
command.go Don't disable ambiant providers during tests (#9404) 2022-04-15 11:14:47 +02:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
program.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
program_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
pulumi.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
s3reporter.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
util.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00