|
|
@@ -3526,7 +3526,7 @@ func TestCheckValidHTTP2Request(t *testing.T) {
|
|
|
}
|
|
|
for i, tt := range tests {
|
|
|
got := checkValidHTTP2RequestHeaders(tt.h)
|
|
|
- if !reflect.DeepEqual(got, tt.want) {
|
|
|
+ if !equalError(got, tt.want) {
|
|
|
t.Errorf("%d. checkValidHTTP2Request = %v; want %v", i, got, tt.want)
|
|
|
}
|
|
|
}
|