fix return types
Some checks failed
Blockstorage/repertory/pipeline/head There was a failure building this commit
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-19 07:15:19 -05:00
parent 5aa0558a80
commit cd82118a20

View File

@@ -209,15 +209,17 @@ protected:
static void SetUpTestCase() {
current_directory = std::filesystem::current_path();
const auto make_test_dir = [](std::string_view suite,
std::string_view sub) {
return utils::path::combine(test::get_test_output_dir(),
{std::string(suite), std::string(sub)});
const auto make_test_dir = [](const std::string &suite,
const std::string &sub) -> std::string {
return utils::path::combine(test::get_test_output_dir(), {
suite,
sub,
});
};
const auto make_cfg_dir = [](const std::string &root,
std::string_view name) {
auto cfg = utils::path::combine(root, {std::string(name)});
const std::string &name) -> std::string {
auto cfg = utils::path::combine(root, {name});
ASSERT_TRUE(utils::file::directory(cfg).create_directory());
return cfg;
};