mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-08-25 14:38: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
|
|
@ -12,8 +12,7 @@ import (
|
|||
)
|
||||
|
||||
func TestSetLogger(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
ctx := t.Context()
|
||||
|
||||
rd, wr := io.Pipe()
|
||||
defer rd.Close()
|
||||
|
|
@ -67,8 +66,7 @@ func (h *dummyHandler) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jso
|
|||
}
|
||||
|
||||
func TestLogMessages(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
ctx := t.Context()
|
||||
|
||||
rd, wr := io.Pipe()
|
||||
defer rd.Close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue