aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-05-03 08:24:51 -0700
committerGravatar GitHub <noreply@github.com>2017-05-03 08:24:51 -0700
commit3f716baa0a33529592c6cfeb64950fe463c4595f (patch)
tree8a813961cb0a93556f56e06a98091e42aede5e6f /test
parent892e4be6da9149a5fa7d3a4616ba0fa334828729 (diff)
parent89371914c906a760cb4ac00c2754f3c27549e7ee (diff)
Merge pull request #10972 from ncteisen/credential-error-refcount
Fix Error Refcount Bug
Diffstat (limited to 'test')
-rw-r--r--test/cpp/client/credentials_test.cc4
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