build(deps): use Go 1.23 instead of Go 1.22 (#21280)

This commit is contained in:
Julien Robert
2024-08-15 08:43:08 +00:00
committed by GitHub
parent 0fe3115dcf
commit 819330872c
70 changed files with 174 additions and 172 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ func TestArmorUnarmorPrivKey(t *testing.T) {
// empty string
decrypted, algo, err = crypto.UnarmorDecryptPrivKey("", "passphrase")
require.Error(t, err)
require.True(t, errors.Is(io.EOF, err))
require.True(t, errors.Is(err, io.EOF))
require.Nil(t, decrypted)
require.Empty(t, algo)
@@ -165,7 +165,7 @@ func TestArmorInfoBytes(t *testing.T) {
func TestUnarmorInfoBytesErrors(t *testing.T) {
unarmoredBytes, err := crypto.UnarmorInfoBytes("")
require.Error(t, err)
require.True(t, errors.Is(io.EOF, err))
require.True(t, errors.Is(err, io.EOF))
require.Nil(t, unarmoredBytes)
header := map[string]string{