Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 144141b

Browse files
committed
Small fix for a test that makes it locale agnostic.
1 parent 64ce4c0 commit 144141b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Validation.PackageSigning.ValidateCertificate.Tests/CertificateVerificationResultFacts.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public void CannotCreateNonRevokedResultWithRevocationDate(EndCertificateStatus
8282
.WithRevocationTime(new DateTime(2000, 1, 2))
8383
.Build());
8484

85-
Assert.StartsWith($"End certificate revoked at 1/2/2000 12:00:00 AM but status is {status}", exception.Message);
85+
Assert.StartsWith("End certificate revoked at 1/2/2000", exception.Message);
86+
Assert.Contains($"status is {status}", exception.Message);
8687
}
8788

8889
[Fact]

0 commit comments

Comments
 (0)