RELEASE.2026-03-14T12-00-00Z with go 1.26.0

Switch to community-maintained console fork (georgmangold/console v1.9.1)
and update dependencies accordingly. Fix go vet format directive in
grid_test.go and adapt test status code for Go 1.26 HTTP semantics.
This commit is contained in:
Feng Ruohang
2026-03-14 17:39:57 +08:00
parent 68521b37f2
commit 00f3cf74fc
11 changed files with 408 additions and 332 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ func TestSingleRoundtripGenerics(t *testing.T) {
t.Errorf("want error %v(%T), got %v(%T)", RemoteErr(testPayload), RemoteErr(testPayload), err, err)
}
if resp != nil {
t.Errorf("want nil, got %q", resp)
t.Errorf("want nil, got %#v", resp)
}
h2.PutResponse(resp)
t.Log("Roundtrip:", time.Since(start))
@@ -304,7 +304,7 @@ func TestSingleRoundtripGenericsRecycle(t *testing.T) {
t.Errorf("want error %v(%T), got %v(%T)", RemoteErr(testPayload), RemoteErr(testPayload), err, err)
}
if resp != nil {
t.Errorf("want nil, got %q", resp)
t.Errorf("want nil, got %#v", resp)
}
t.Log("Roundtrip:", time.Since(start))
h2.PutResponse(resp)