Skip to content

Commit

Permalink
Remove InvalidUTF8Frame tests from 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Nov 15, 2024
1 parent b106b35 commit 4459272
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/HummingbirdWebSocketTests/WebSocketTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ final class HummingbirdWebSocketTests: XCTestCase {
}
}

#if compiler(>=6)
func testInvalidUTF8Frame() async throws {
let app = Application(
router: Router(),
Expand All @@ -679,6 +680,7 @@ final class HummingbirdWebSocketTests: XCTestCase {
XCTAssertEqual(rt?.closeCode, .dataInconsistentWithMessage)
}
}
#endif

// test WebSocket channel graceful shutdown
func testGracefulShutdown() async throws {
Expand Down

0 comments on commit 4459272

Please sign in to comment.