From d8b476e80ae8712366cb36fddb53d5b4352a60bb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 4 Apr 2025 21:34:24 -0500 Subject: [PATCH] fix test --- repertory/repertory_test/src/winfsp_drive_rename_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repertory/repertory_test/src/winfsp_drive_rename_test.cpp b/repertory/repertory_test/src/winfsp_drive_rename_test.cpp index d0a6f45d..4044ce7e 100644 --- a/repertory/repertory_test/src/winfsp_drive_rename_test.cpp +++ b/repertory/repertory_test/src/winfsp_drive_rename_test.cpp @@ -93,7 +93,7 @@ TYPED_TEST(winfsp_test, rename_fails_if_dest_exists_and_replace_is_false) { ASSERT_NE(INVALID_HANDLE_VALUE, handle); ::CloseHandle(handle); - EXPECT_FALSE(::MoveFileExA(file_path.c_str(), file_path2.c_str(), 0)); + EXPECT_FALSE(::MoveFileExA(file_path3.c_str(), file_path2.c_str(), 0)); EXPECT_EQ(ERROR_ALREADY_EXISTS, ::GetLastError()); EXPECT_TRUE(::DeleteFileA(file_path3.c_str()));