X Tutup
Skip to content

Commit bc80675

Browse files
committed
Remove unused types
1 parent ed376f3 commit bc80675

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

pkg/cmd/codespace/ports_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ func runUpdateVisibilityTest(t *testing.T, portVisibilities []portVisibility, ev
182182
return fmt.Errorf("unable to create test server: %w", err)
183183
}
184184

185-
type rpcMessage struct {
186-
Method string
187-
Params liveshare.PortUpdate
188-
}
189-
190185
go func() {
191186
var i int
192187
for ; ; i++ {

pkg/liveshare/session_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ func makeMockSession(opts ...livesharetest.ServerOption) (*livesharetest.Server,
4949
return testServer, session, nil
5050
}
5151

52-
type rpcPortTestMessage struct {
53-
Method string
54-
Params PortUpdate
55-
}
56-
5752
func TestServerStartSharing(t *testing.T) {
5853
serverPort, serverProtocol := 2222, "sshd"
5954
sendNotification := make(chan portUpdateNotification)

0 commit comments

Comments
 (0)
X Tutup