From bc802a0f970f47354ec1da6d2856f8602553f468 Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Mon, 21 Oct 2024 22:56:38 +1300 Subject: [PATCH] fix --- Networking/Tests/NetworkingTests/PeerTest.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Networking/Tests/NetworkingTests/PeerTest.swift b/Networking/Tests/NetworkingTests/PeerTest.swift index 271d2823..d35f166a 100644 --- a/Networking/Tests/NetworkingTests/PeerTest.swift +++ b/Networking/Tests/NetworkingTests/PeerTest.swift @@ -55,7 +55,7 @@ final class PeerTests { handler: serverHandler, registration: registration, configuration: serverConfiguration, - listenAddress: NetAddr(ipAddress: "127.0.0.1", port: 0), + listenAddress: NetAddr(ipAddress: "127.0.0.1", port: 0)!, alpns: [Data("testalpn".utf8)] ) @@ -115,7 +115,7 @@ final class PeerTests { handler: serverHandler, registration: registration, configuration: serverConfiguration, - listenAddress: NetAddr(ipAddress: "127.0.0.1", port: 0), + listenAddress: NetAddr(ipAddress: "127.0.0.1", port: 0)!, alpns: [Data("testalpn".utf8)] )