Skip to content

Commit ab70100

Browse files
committed
Remove unnecessary change
1 parent 5e0a276 commit ab70100

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

Tests/NIOHTTP3Tests/HTTPMessageParsingTests.swift

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -690,31 +690,3 @@ extension HTTPMessageParsingStateMachine<HTTPResponsePart>.ProcessFrameAction? {
690690
}
691691
}
692692
}
693-
694-
extension HTTPMessageParsingStateMachine.InputClosedAction {
695-
fileprivate func assertIncomplete(sourceLocation: SourceLocation = #_sourceLocation) {
696-
switch self {
697-
case .messageIncomplete:
698-
break
699-
default: Issue.record("Expected .messageIncomplete, got \(self)", sourceLocation: sourceLocation)
700-
}
701-
}
702-
}
703-
704-
extension HTTPMessageParsingStateMachine<HTTPRequestPart>.InputClosedAction? {
705-
fileprivate func assertIncomplete(sourceLocation: SourceLocation = #_sourceLocation) {
706-
switch self {
707-
case .some(let action): action.assertIncomplete(sourceLocation: sourceLocation)
708-
case .none: Issue.record("Expected .messageIncomplete, got no action", sourceLocation: sourceLocation)
709-
}
710-
}
711-
}
712-
713-
extension HTTPMessageParsingStateMachine<HTTPResponsePart>.InputClosedAction? {
714-
fileprivate func assertIncomplete(sourceLocation: SourceLocation = #_sourceLocation) {
715-
switch self {
716-
case .some(let action): action.assertIncomplete(sourceLocation: sourceLocation)
717-
case .none: Issue.record("Expected .messageIncomplete, got no action", sourceLocation: sourceLocation)
718-
}
719-
}
720-
}

0 commit comments

Comments
 (0)