diff options
author | Noah Eisen <ncteisen@google.com> | 2017-05-02 23:17:36 -0700 |
---|---|---|
committer | Noah Eisen <ncteisen@google.com> | 2017-05-02 23:26:05 -0700 |
commit | 89371914c906a760cb4ac00c2754f3c27549e7ee (patch) | |
tree | 345b78ae0b38b7dc7fb4aef9859c898ed49a7594 /test/cpp | |
parent | 089449568c1297dcb07f354a196a35c83a91f2e6 (diff) |
Fix error refcount bug
Added a missing ref in httpcli.c. Also added a test to avoid
regression
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/client/credentials_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/client/credentials_test.cc b/test/cpp/client/credentials_test.cc index 418a54439a..23b3b2ef3f 100644 --- a/test/cpp/client/credentials_test.cc +++ b/test/cpp/client/credentials_test.cc @@ -50,6 +50,10 @@ TEST_F(CredentialsTest, InvalidGoogleRefreshToken) { EXPECT_EQ(static_cast<CallCredentials*>(nullptr), bad1.get()); } +TEST_F(CredentialsTest, DefaultCredentials) { + auto creds = GoogleDefaultCredentials(); +} + } // namespace testing } // namespace grpc |