Skip to content

Commit

Permalink
add assert for a clean closed channel
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnzhou committed Jan 7, 2025
1 parent 78bb1d4 commit 98d87d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/NIOWebSocketTests/WebSocketClientEndToEndTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ class WebSocketClientEndToEndTests: XCTestCase {
XCTAssertEqual(0x80, maskedBit)

XCTAssertNoThrow(!clientChannel.isActive)
XCTAssertTrue(try clientChannel.finish(acceptAlreadyClosed: true).isClean)
}
}

Expand Down

0 comments on commit 98d87d7

Please sign in to comment.