Skip to content

Commit e180cd1

Browse files
committed
Clang-format
1 parent 57f1a03 commit e180cd1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

sdk/identity/azure-identity/src/default_azure_credential.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ DefaultAzureCredential::DefaultAzureCredential(
150150

151151
const auto logMsg = GetCredentialName() + ": '" + envVarName + "' environment variable is "
152152
+ (envVarValue.empty() ? "not set" : ("set to '" + envVarValue + "'"))
153-
+ ((devCredCount > 0) ? (", therefore " + devCredNames + " will " + (isProd ? "NOT " : "")
154-
+ "be included in the credential chain.")
155-
: ".");
153+
+ ((devCredCount > 0)
154+
? (", therefore " + devCredNames + " will " + (isProd ? "NOT " : "")
155+
+ "be included in the credential chain.")
156+
: ".");
156157

157158
if (isProd)
158159
{

sdk/identity/azure-identity/test/ut/default_azure_credential_test.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ TEST(DefaultAzureCredential, CachingCredential)
138138
EXPECT_TRUE(c2->WasInvoked);
139139
}
140140

141-
class LogMessages : public ::testing::TestWithParam<std::string> {};
141+
class LogMessages : public ::testing::TestWithParam<std::string> {
142+
};
142143

143144
INSTANTIATE_TEST_SUITE_P(
144145
DefaultAzureCredential,
@@ -361,7 +362,8 @@ struct SpecificCredentialInfo
361362
size_t ExpectedLogMsgCount;
362363
};
363364

364-
class LogMessagesForSpecificCredential : public ::testing::TestWithParam<SpecificCredentialInfo> {};
365+
class LogMessagesForSpecificCredential : public ::testing::TestWithParam<SpecificCredentialInfo> {
366+
};
365367

366368
INSTANTIATE_TEST_SUITE_P(
367369
DefaultAzureCredential,

0 commit comments

Comments
 (0)