From ae3b1f32c23bdbb29998329b7e2fb13f0d00a015 Mon Sep 17 00:00:00 2001 From: MTG <36234449+mtgag@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:24:34 +0200 Subject: [PATCH] Correct test descriptions (#829) Mark lint.NA expected results as lint.NA, not pass. https://github.com/zmap/zlint/pull/829 --- v3/lints/cabf_smime_br/mailbox_address_from_san_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v3/lints/cabf_smime_br/mailbox_address_from_san_test.go b/v3/lints/cabf_smime_br/mailbox_address_from_san_test.go index a4c652739..02c8b6c6d 100644 --- a/v3/lints/cabf_smime_br/mailbox_address_from_san_test.go +++ b/v3/lints/cabf_smime_br/mailbox_address_from_san_test.go @@ -42,13 +42,13 @@ func TestMailboxAddressFromSANLint(t *testing.T) { ExpectedResult: lint.Pass, }, { - Name: "pass - only contains one san:emailAddress value", + Name: "NA - only contains one san:emailAddress value", InputFilename: "WithOnlySANEmail.pem", ExpectedResult: lint.NA, }, { - Name: "pass - only contains one san:otherName value", + Name: "NA - only contains one san:otherName value", InputFilename: "WithOnlySANOtherName.pem", ExpectedResult: lint.NA, @@ -94,7 +94,7 @@ func TestMailboxAddressFromSANLint(t *testing.T) { ExpectedDetails: "all certificate mailbox addresses must be present in san:emailAddresses or san:otherNames in addition to any other field they may appear", }, { - Name: "pass - subject:commonName is personal name, san:emailAddress contains an email", + Name: "NA - subject:commonName is personal name, san:emailAddress contains an email", InputFilename: "sponsorValidatedMultipurposePersonalNameInCN.pem", ExpectedResult: lint.NA,