Skip to content

Commit

Permalink
xds/test: delete use of removed types (#4784)
Browse files Browse the repository at this point in the history
They were deprecated, and removed later.
  • Loading branch information
menghanl committed Sep 20, 2021
1 parent 1109452 commit 5417cf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions internal/xds/matcher/string_matcher_test.go
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion xds/internal/xdsclient/rds_test.go
Expand Up @@ -1146,7 +1146,7 @@ func (s) TestRoutesProtoToSlice(t *testing.T) {
Headers: []*v3routepb.HeaderMatcher{
{
Name: "th",
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_HiddenEnvoyDeprecatedRegexMatch{},
HeaderMatchSpecifier: &v3routepb.HeaderMatcher_StringMatch{},
},
},
},
Expand Down

0 comments on commit 5417cf8

Please sign in to comment.