From 2930933f19cf78109dd38fffce2de90ba1d4452f Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 8 Nov 2024 12:37:15 -0600 Subject: [PATCH] winfsp unit tests and fixes --- repertory/repertory_test/include/fixtures/winfsp_fixture.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp index 71d7d2a1..c8e43065 100644 --- a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp @@ -75,7 +75,7 @@ protected: static void SetUpTestCase() { current_directory = std::filesystem::current_path(); - mount_location = utils::string::to_lower("U:"); + mount_location = utils::string::to_lower(std::string{"U:"}); const auto mount_s3 = [&]() { { @@ -164,7 +164,7 @@ protected: }); mount_location2 = mount_location; - mount_location = utils::string::to_lower("V:"); + mount_location = utils::string::to_lower(std::string{"V:"}); auto cfg_directory = utils::path::combine(test_directory, {"cfg2"}); ASSERT_TRUE(utils::file::directory(cfg_directory).create_directory());