Skip to content

Commit

Permalink
Fix the test on go1.21 (#252)
Browse files Browse the repository at this point in the history
Signed-off-by: sword-jin <rrylee1994@gmail.com>
  • Loading branch information
sword-jin authored Jan 17, 2024
1 parent be65809 commit 04f9983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/spiffetls/tlsconfig/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ func testConnection(t testing.TB, serverConfig *tls.Config, clientConfig *tls.Co
if conn != nil {
conn.Close()
}
require.EqualError(t, err, clientErr)
require.ErrorContains(t, err, clientErr)
return
}

Expand Down

0 comments on commit 04f9983

Please sign in to comment.