Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: update supported Postgres and Go versions #1113

Closed
wants to merge 1 commit into from
Closed

Conversation

drakkan
Copy link
Contributor

@drakkan drakkan commented Mar 22, 2023

No description provided.

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! i just had minor comments

@@ -86,6 +87,10 @@ func TestSSLVerifyFull(t *testing.T) {
if err == nil {
t.Fatal("expected error")
}
// in Go 1.20 the error is wrapped in tls.CertificateVerificationError
if errWrapped := errors.Unwrap(err); errWrapped != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this use errors.As so that the test also checks that the outer error is CertificateVerificationError?

@@ -101,6 +106,9 @@ func TestSSLVerifyFull(t *testing.T) {
if err == nil {
t.Fatal("expected error")
}
if errWrapped := errors.Unwrap(err); errWrapped != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and similar for here

@otan
Copy link
Collaborator

otan commented Apr 28, 2023

using #1124

@otan otan closed this Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants