Fix IA5String test assertion

Signed-off-by: SpectralHiss <houssem.elfekih@jetstack.io>
This commit is contained in:
SpectralHiss 2023-12-21 10:02:53 +00:00
parent 78d6e1b491
commit f4bbe66737

View File

@ -197,8 +197,8 @@ func TestIsIA5String(t *testing.T) {
for _, nonIA5String := range nonIA5Strings {
err := isIA5String(nonIA5String)
if err != nil {
t.Errorf("Expected non-IA5 string %q, got: %s", nonIA5String, err.Error())
if err == nil {
t.Errorf("Expected non-IA5 string error for %s, got: nil")
}
}
}