diff --git a/Tests/NIOHTTP1Tests/HTTPDecoderLengthTest.swift b/Tests/NIOHTTP1Tests/HTTPDecoderLengthTest.swift index 1f8e2593..82954d4a 100644 --- a/Tests/NIOHTTP1Tests/HTTPDecoderLengthTest.swift +++ b/Tests/NIOHTTP1Tests/HTTPDecoderLengthTest.swift @@ -55,7 +55,7 @@ class HTTPDecoderLengthTest: XCTestCase { override func setUp() { self.channel = EmbeddedChannel() - self.loop = channel.eventLoop as! EmbeddedEventLoop + self.loop = (channel.eventLoop as! EmbeddedEventLoop) } override func tearDown() { diff --git a/Tests/NIOHTTP1Tests/HTTPDecoderTest.swift b/Tests/NIOHTTP1Tests/HTTPDecoderTest.swift index 776bff07..73673f53 100644 --- a/Tests/NIOHTTP1Tests/HTTPDecoderTest.swift +++ b/Tests/NIOHTTP1Tests/HTTPDecoderTest.swift @@ -23,7 +23,7 @@ class HTTPDecoderTest: XCTestCase { override func setUp() { self.channel = EmbeddedChannel() - self.loop = channel.eventLoop as! EmbeddedEventLoop + self.loop = (channel.eventLoop as! EmbeddedEventLoop) } override func tearDown() {