diff options
author | Tom Hughes <tomhughes@google.com> | 2023-01-24 19:09:35 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-24 19:10:09 (GMT) |
commit | 2491710524094dc3b77cfa4e8eda2ba8edb0d91c (patch) | |
tree | 2c9bdfb14ae930e22a89dcbee3ae97f93a26451a /googletest/src/gtest.cc | |
parent | 408471e20cfaa7ccd585fe5e1c6e7b6fba8ce06e (diff) | |
download | googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.zip googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.gz googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.bz2 |
Fix formatting of C++ files
PiperOrigin-RevId: 504325204
Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
Diffstat (limited to 'googletest/src/gtest.cc')
-rw-r--r-- | googletest/src/gtest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index a64e887..19acb1c 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -1134,8 +1134,8 @@ class Timer { // Return time elapsed in milliseconds since the timer was created. TimeInMillis Elapsed() { - return std::chrono::duration_cast<std::chrono::milliseconds>( - clock::now() - start_) + return std::chrono::duration_cast<std::chrono::milliseconds>(clock::now() - + start_) .count(); } @@ -6172,7 +6172,7 @@ void UnitTestImpl::ListTestsMatchingFilter() { } } fflush(stdout); - #if GTEST_HAS_FILE_SYSTEM +#if GTEST_HAS_FILE_SYSTEM const std::string& output_format = UnitTestOptions::GetOutputFormat(); if (output_format == "xml" || output_format == "json") { FILE* fileout = OpenFileForWriting( |