Skip to content

Commit

Permalink
Remove promise?.succeed(())
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadoba committed Jan 25, 2023
1 parent 3f8f55f commit 0cc2adb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class HTTP1ClientChannelHandlerTests: XCTestCase {
// non empty body is important to trigger this bug as we otherwise finish the request in a single flush
request.requestFramingMetadata.body = .fixedSize(1)
request.raiseErrorIfUnimplementedMethodIsCalled = false
try channel.writeOutbound(request)
channel.writeAndFlush(request, promise: nil)
XCTAssertEqual(request.events.map(\.kind), [.willExecuteRequest, .requestHeadSent])
}
}
Expand Down

0 comments on commit 0cc2adb

Please sign in to comment.