Skip to content

Commit

Permalink
Fix build breakage from toolchain option changes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 721433123
  • Loading branch information
ftsui authored and copybara-github committed Jan 30, 2025
1 parent c9686fd commit 79b99ae
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ TEST_F(CountDownLatchTests, CountDownLatchAwaitSucceeds) {

TEST_F(CountDownLatchTests, CountDownLatchAwaitTimeoutTimesOut) {
// Arrange
LONG volatile count = 0;

std::unique_ptr<nearby::api::CountDownLatch> countDownLatch =
nearby::api::ImplementationPlatform::CreateCountDownLatch(3);

Expand Down
11 changes: 0 additions & 11 deletions internal/platform/implementation/windows/file_path_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ const wchar_t* kOneIterationNoDotsFileName(L"/incrementfiletesttxt (1)");
const wchar_t* kMultipleDotsFileName(L"increment.file.test.txt");
const wchar_t* kOneIterationMultipleDotsFileName(
L"/increment.file.test (1).txt");
const wchar_t* kImmediateEscape(L"../");
const wchar_t* kLongEscapeBackSlash(L"..\\test\\..\\..\\test");
const wchar_t* kTwoLevelFolder(L"/test/test");
const wchar_t* kLongEscapeSlash(L"../test/../../test");
const wchar_t* kLongEscapeMixedSlash(L"../test\\..\\../test");
const wchar_t* kLongEscapeEndingEscape(L"../test/../../test/..");
const wchar_t* kLongEscapeEndingEscapeWithSlash(
L"../test/../../test/../../../");
const wchar_t* kFileNameWithThreeDots(L"...");
const wchar_t* kFileNameWithFrontTwoDots(L"..file.name.txt");
} // namespace
Expand Down Expand Up @@ -143,9 +135,6 @@ NameArgumentsShouldReturnBaseDownloadPath) {

auto actual(FilePath::GetDownloadPath(parent_folder, file_name));

auto result_size = actual.size();
auto default_size = default_download_path_.size();

EXPECT_EQ(actual, default_download_path_);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ TEST_P(ScheduledExecutorTest, ScheduleSucceeds) {

threadIds->push_back(GetCurrentThreadId());

std::chrono::system_clock::time_point timeNow =
std::chrono::system_clock::now();
std::chrono::system_clock::time_point timeExecuted;

// Act
Expand Down

0 comments on commit 79b99ae

Please sign in to comment.