HttpProxyMapperTest: cleanup (#32572)

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/32574/head
Yash Tibrewal 2 years ago committed by GitHub
parent 89980d01f6
commit 657c1da1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/core/client_channel/http_proxy_mapper_test.cc

@ -16,8 +16,6 @@
//
//
#include <string>
#include "absl/types/optional.h"
#include "gtest/gtest.h"
@ -64,7 +62,6 @@ TEST(NoProxyTest, Basic) {
TEST(NoProxyTest, EmptyEntries) {
ScopedSetEnv no_proxy("foo.com,,google.com,,");
auto args = ChannelArgs().Set(GRPC_ARG_HTTP_PROXY, "http://proxy.google.com");
absl::optional<std::string> name_to_resolve;
EXPECT_EQ(HttpProxyMapper().MapName("dns:///test.google.com:443", &args),
absl::nullopt);
EXPECT_EQ(args.GetString(GRPC_ARG_HTTP_CONNECT_SERVER), absl::nullopt);

Loading…
Cancel
Save