Skip to content

Commit

Permalink
LineBasedFrameDecoderTest cleanup (#230)
Browse files Browse the repository at this point in the history
Remove extraneous `print` statement.

Co-authored-by: Rick Newton-Rogers <[email protected]>
  • Loading branch information
rnro and rnro authored Sep 11, 2024
1 parent 4f88861 commit 2e9746c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/NIOExtrasTests/LineBasedFrameDecoderTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,7 @@ class LineBasedFrameDecoderTest: XCTestCase {
switch callCount {
case 1:
XCTAssertEqual(ByteBuffer(string: "1"), line)
XCTAssertNoThrow(try b2mp.finishProcessing(seenEOF: true) { line in
print(line)
})
XCTAssertNoThrow(try b2mp.finishProcessing(seenEOF: true) { _ in } )
case 2:
XCTAssertEqual(ByteBuffer(string: ""), line)
case 3:
Expand Down

0 comments on commit 2e9746c

Please sign in to comment.