Skip to content

Commit

Permalink
Fix the test on go1.21
Browse files Browse the repository at this point in the history
Signed-off-by: sword-jin <rrylee1994@gmail.com>
  • Loading branch information
sword-jin committed Dec 14, 2023
1 parent 0dfd0a6 commit 89f5883
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 89f5883

Please sign in to comment.