From 06d749d3454aa35c177a50ce4a25715df21fd742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 17 May 2022 11:26:06 +0200 Subject: [PATCH] fix test error message --- src/net/http/clientserver_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/http/clientserver_test.go b/src/net/http/clientserver_test.go index 591c1d12452c7..3fc9fcf19d7a9 100644 --- a/src/net/http/clientserver_test.go +++ b/src/net/http/clientserver_test.go @@ -1651,12 +1651,12 @@ func testEarlyHintsRequest(t *testing.T, h2 bool) { t.Helper() if len(expected) != len(got) { - t.Errorf("Expected %d link headers; got %d", len(expected), len(got)) + t.Errorf("got %d expected %d", len(got), len(expected)) } for i := range expected { if expected[i] != got[i] { - t.Errorf("Expected %q link header; got %q", expected[i], got[i]) + t.Errorf("got %q expected %q", got[i], expected[i]) } } }