mirror of https://github.com/grpc/grpc-go.git
xds/test: delete use of removed types (#4784)
They were deprecated, and removed later.
This commit is contained in:
parent
1109452fd1
commit
5417cf8091
|
@ -67,13 +67,6 @@ func TestStringMatcherFromProto(t *testing.T) {
|
|||
},
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
desc: "invalid deprecated regex",
|
||||
inputProto: &v3matcherpb.StringMatcher{
|
||||
MatchPattern: &v3matcherpb.StringMatcher_HiddenEnvoyDeprecatedRegex{},
|
||||
},
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
desc: "happy case exact",
|
||||
inputProto: &v3matcherpb.StringMatcher{
|
||||
|
|
|
@ -1146,7 +1146,7 @@ func (s) TestRoutesProtoToSlice(t *testing.T) {
|
|||
Headers: []*v3routepb.HeaderMatcher{
|
||||
{
|
||||
Name: "th",
|
||||
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_HiddenEnvoyDeprecatedRegexMatch{},
|
||||
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_StringMatch{},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue