ContainerImage.Pinniped/internal/upstreamoidc
Ryan Richard c6e4133c5e Accept both old and new cert error strings on MacOS in test assertions
Used this as an opportunity to refactor how some tests were
making assertions about error strings.

New test helpers make it easy for an error string to be expected as an
exact string, as a string built using sprintf, as a regexp, or as a
string built to include the platform-specific x509 error string.

All of these helpers can be used in a single `wantErr` field of a test
table. They can be used for both unit tests and integration tests.

Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-01-20 15:01:36 -08:00
..
upstreamoidc.go Code changes to support Kube 0.26 deps 2023-01-18 14:39:22 -08:00
upstreamoidc_test.go Accept both old and new cert error strings on MacOS in test assertions 2023-01-20 15:01:36 -08:00