(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestWsFastHandlerClose(t *testing.T) { |
| 108 | e := wsFastHandlerTester(t) |
| 109 | |
| 110 | ws := e.GET("/path").WithWebsocketUpgrade(). |
| 111 | Expect(). |
| 112 | Status(http.StatusSwitchingProtocols). |
| 113 | Websocket() |
| 114 | defer ws.Disconnect() |
| 115 | |
| 116 | ws.CloseWithText("Namárië...", websocket.CloseGoingAway). |
| 117 | Expect(). |
| 118 | CloseMessage().NoContent() |
| 119 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…