implement small changes

This commit is contained in:
miampf 2025-01-16 16:20:03 +01:00
parent f386dbc95f
commit 21c9cd6a26
No known key found for this signature in database
GPG key ID: EF039364B5B6886C
7 changed files with 27 additions and 29 deletions

View file

@ -155,9 +155,9 @@ func TestGenerateEmergencySSHCAKey(t *testing.T) {
_, err := GenerateEmergencySSHCAKey(tc.key)
if tc.wantErr {
assert.NotNil(err)
assert.Error(err)
} else {
assert.Nil(err)
assert.NoError(err)
}
})
}