|
@ -167,7 +167,6 @@ func TestUpgrader(t *testing.T) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* |
|
|
|
|
|
func TestBroadcast(t *testing.T) { |
|
|
func TestBroadcast(t *testing.T) { |
|
|
broadcast := NewTestServer() |
|
|
broadcast := NewTestServer() |
|
|
broadcast.m.HandleMessage(func(session *Session, msg []byte) { |
|
|
broadcast.m.HandleMessage(func(session *Session, msg []byte) { |
|
@ -212,7 +211,6 @@ func TestBroadcast(t *testing.T) { |
|
|
t.Error(err) |
|
|
t.Error(err) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
func TestBroadcastOthers(t *testing.T) { |
|
|
func TestBroadcastOthers(t *testing.T) { |
|
|
broadcast := NewTestServer() |
|
|
broadcast := NewTestServer() |
|
|