Skip to content

Commit 7d16034

Browse files
committed
Add missing @test macros
Motivation: The new tests should be run Modifications: The new tests are missing the @test macros Result: The new tests will have the @test macros
1 parent 19eb2fc commit 7d16034

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/X509Tests/CustomPrivateKeyTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ final class CustomPrivateKeyTests {
3232
#expect(keyBacking.supportedSignatureAlgorithms == privateKey.supportedSignatureAlgorithms)
3333
}
3434

35+
@Test("CustomPrivateKey Signing")
3536
func testCustomPrivateKeySigning() async throws {
3637
let privateKey = Certificate.PrivateKey(TestAsyncKey())
3738

@@ -47,13 +48,15 @@ final class CustomPrivateKeyTests {
4748
}
4849
}
4950

51+
@Test("CustomPrivateKey Equatable")
5052
func testCustomPrivateKeyBackingEquality() {
5153
let keyBacking = TestAsyncKey()
5254
let leftKey = Certificate.PrivateKey(keyBacking)
5355
let rightKey = Certificate.PrivateKey(keyBacking)
5456
#expect(leftKey == rightKey)
5557
}
5658

59+
@Test("CustomPrivateKey Serialization")
5760
func testCustomPrivateKeySerialization() {
5861
let privateKey = Certificate.PrivateKey(TestAsyncKey())
5962
#expect(throws: TestAsyncKey.MyError.self) {

0 commit comments

Comments
 (0)