mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-08-23 21:48:12 +02:00
go: upgrade to Go 1.26.4 and run go fix ./...
This commit is contained in:
parent
4756698b1e
commit
3d270f1593
15 changed files with 57 additions and 64 deletions
|
|
@ -67,7 +67,7 @@ func TestConn(t *testing.T) {
|
|||
}
|
||||
|
||||
var paramsTests = []struct {
|
||||
sendParams interface{}
|
||||
sendParams any
|
||||
wantParams *json.RawMessage
|
||||
}{
|
||||
{
|
||||
|
|
@ -220,8 +220,7 @@ func TestConn_Close(t *testing.T) {
|
|||
}}
|
||||
for _, tc := range cases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
ctx := t.Context()
|
||||
|
||||
connA, connB := net.Pipe()
|
||||
nodeA := jsonrpc2.NewConn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue