From 633e7376f7a25818d38a1adcbc691d9cb2e10e53 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 26 Dec 2024 15:16:18 -0600 Subject: [PATCH] unit tests and fixes --- repertory/repertory_test/src/file_manager_test.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/repertory/repertory_test/src/file_manager_test.cpp b/repertory/repertory_test/src/file_manager_test.cpp index 79073bf3..39c23e73 100644 --- a/repertory/repertory_test/src/file_manager_test.cpp +++ b/repertory/repertory_test/src/file_manager_test.cpp @@ -822,9 +822,11 @@ TEST_F(file_manager_test, evict_file_fails_if_unable_to_get_filesystem_item) { file_manager mgr(*cfg, mp); EXPECT_CALL(mp, get_filesystem_item) - .WillRepeatedly( - [](const std::string &api_path, bool directory, - filesystem_item &fsi) -> api_error { return api_error::error; }); + .WillRepeatedly([](const std::string & /* api_path */, + bool /* directory */, + filesystem_item & /* fsi */) -> api_error { + return api_error::error; + }); EXPECT_FALSE(mgr.evict_file("/test_open.txt")); }