ContainerImage.Pinniped/test
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
..
cluster_capabilities Run the LDAP client's integration tests only on Kind 2021-07-08 11:10:53 -07:00
deploy/tools Make Pinniped compatible with Kube clusters which have enabled PSAs 2022-09-15 14:58:15 -07:00
integration Accept both old and new cert error strings on MacOS in test assertions 2023-01-20 15:01:36 -08:00
testlib Merge branch 'main' into dynamic_clients 2022-09-23 14:01:11 -07:00