Skip to content

Commit 8fdd867

Browse files
felixfonteindevx
authored andcommitted
Adjust age tests.
Signed-off-by: Felix Fontein <felix@fontein.de> Signed-off-by: Victor Palma <palma.victor@gmail.com>
1 parent 917a4c8 commit 8fdd867

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

age/keysource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func TestMasterKey_Decrypt(t *testing.T) {
303303

304304
got, err := key.Decrypt()
305305
assert.Error(t, err)
306-
assert.ErrorContains(t, err, "no identity matched any of the recipients")
306+
assert.ErrorContains(t, err, "incorrect identity for recipient block")
307307
assert.Nil(t, got)
308308
})
309309

0 commit comments

Comments
 (0)