Skip to content

Commit 4d1e9a7

Browse files
committed
Update integration_test.cc
1 parent 52921a8 commit 4d1e9a7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

auth/integration_test/src/integration_test.cc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ TEST_F(FirebaseAuthTest, TestTokensAndAuthStateListeners) {
445445
#endif
446446

447447
static std::string GenerateEmailAddress(const std::string& test_name) {
448-
std::string time_string = std::to_string(app_framework::GetCurrentTimeInMicroseconds());
448+
std::string time_string =
449+
std::to_string(app_framework::GetCurrentTimeInMicroseconds());
449450

450451
std::string sanitized_test_name = test_name;
451452
for (char& c : sanitized_test_name) {
@@ -458,11 +459,12 @@ static std::string GenerateEmailAddress(const std::string& test_name) {
458459
sanitized_test_name = sanitized_test_name.substr(0, 25);
459460
}
460461

461-
std::string email = "user_" + std::string(INTEGRATION_TEST_PLATFORM_NAME) + "_" +
462-
sanitized_test_name + "_" + time_string + "@gmail.com";
462+
std::string email = "user_" + std::string(INTEGRATION_TEST_PLATFORM_NAME) +
463+
"_" + sanitized_test_name + "_" + time_string +
464+
"@gmail.com";
463465

464-
// The backend generally returns the string as lowercase, so just make it lowercase
465-
// to avoid confusion when comparing later.
466+
// The backend generally returns the string as lowercase, so just make it
467+
// lowercase to avoid confusion when comparing later.
466468
std::transform(email.begin(), email.end(), email.begin(),
467469
[](unsigned char c) { return std::tolower(c); });
468470

0 commit comments

Comments
 (0)