8000 Fix the test on go1.21 (#252) · spiffe/go-spiffe@04f9983 · GitHub
[go: up one dir, main page]

Skip to content

Commit 04f9983

Browse files
authored
Fix the test on go1.21 (#252)
Signed-off-by: sword-jin <rrylee1994@gmail.com>
1 pa
8000
rent be65809 commit 04f9983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2/spiffetls/tlsconfig/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ func testConnection(t testing.TB, serverConfig *tls.Config, clientConfig *tls.Co
772772
if conn != nil {
773773
conn.Close()
774774
}
775-
require.EqualError(t, err, clientErr)
775+
require.ErrorContains(t, err, clientErr)
776776
return
777777
}
778778

0 commit comments

Comments
 (0)
0