Skip to content

Commit

Permalink
lint update and test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMukhi committed Mar 8, 2017
1 parent 0d5b22c commit 5ebdd30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/helloworld/mock/hw_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mock
package mock_test

import (
"fmt"
Expand Down
1 change: 1 addition & 0 deletions transport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ func setUpWithNoPingServer(t *testing.T, copts ConnectOptions, done chan net.Con
tr, err := NewClientTransport(context.Background(), TargetInfo{Addr: lis.Addr().String()}, copts)
if err != nil {
// Server clean-up.
lis.Close()
if conn, ok := <-done; ok {
conn.Close()
}
Expand Down

0 comments on commit 5ebdd30

Please sign in to comment.