fix return types
This commit is contained in:
@@ -209,15 +209,17 @@ protected:
|
|||||||
static void SetUpTestCase() {
|
static void SetUpTestCase() {
|
||||||
current_directory = std::filesystem::current_path();
|
current_directory = std::filesystem::current_path();
|
||||||
|
|
||||||
const auto make_test_dir = [](std::string_view suite,
|
const auto make_test_dir = [](const std::string &suite,
|
||||||
std::string_view sub) {
|
const std::string &sub) -> std::string {
|
||||||
return utils::path::combine(test::get_test_output_dir(),
|
return utils::path::combine(test::get_test_output_dir(), {
|
||||||
{std::string(suite), std::string(sub)});
|
suite,
|
||||||
|
sub,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto make_cfg_dir = [](const std::string &root,
|
const auto make_cfg_dir = [](const std::string &root,
|
||||||
std::string_view name) {
|
const std::string &name) -> std::string {
|
||||||
auto cfg = utils::path::combine(root, {std::string(name)});
|
auto cfg = utils::path::combine(root, {name});
|
||||||
ASSERT_TRUE(utils::file::directory(cfg).create_directory());
|
ASSERT_TRUE(utils::file::directory(cfg).create_directory());
|
||||||
return cfg;
|
return cfg;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user