Skip to content

Commit

Permalink
Add an additional assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Apr 8, 2024
1 parent 2c27e06 commit 3d89cf1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/src/unit-vfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,9 @@ TEST_CASE(

auto credentials = gcs.make_credentials({});
REQUIRE(credentials != nullptr);
REQUIRE(
std::string(typeid(*credentials).name()) ==
typeid(google::cloud::internal::ServiceAccountConfig).name());

// We are using an internal class only for inspection purposes.
auto service_account =
Expand Down Expand Up @@ -839,6 +842,9 @@ TEST_CASE(

auto credentials = gcs.make_credentials({});
REQUIRE(credentials != nullptr);
REQUIRE(
std::string(typeid(*credentials).name()) ==
typeid(google::cloud::internal::ImpersonateServiceAccountConfig).name());

// We are using an internal class only for inspection purposes.
auto impersonate_credentials =
Expand Down Expand Up @@ -875,6 +881,9 @@ TEST_CASE(

auto credentials = gcs.make_credentials({});
REQUIRE(credentials != nullptr);
REQUIRE(
std::string(typeid(*credentials).name()) ==
typeid(google::cloud::internal::ExternalAccountConfig).name());

// We are using an internal class only for inspection purposes.
auto external_account =
Expand Down

0 comments on commit 3d89cf1

Please sign in to comment.