Files
kandev/apps/backend/internal/gateway/websocket/client_zero_value_test.go
T
2026-08-02 16:06:14 +01:00

11 lines
257 B
Go

package websocket
import "testing"
func TestZeroValueClientSendControlBytesReturnsFalseWithoutPanic(t *testing.T) {
var client Client
if client.sendControlBytes([]byte("response")) {
t.Fatal("zero-value client must not report a queued response")
}
}