Skip to content

Commit 11f0d51

Browse files
committed
Adjust age tests.
Signed-off-by: Felix Fontein <[email protected]>
1 parent 09359d7 commit 11f0d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)