fixes
This commit is contained in:
@ -391,10 +391,9 @@ TEST(utils_path, absolute) {
|
||||
}
|
||||
|
||||
TEST(utils_path, absolute_can_resolve_path_variables) {
|
||||
std::string home{};
|
||||
|
||||
#if defined(_WIN32)
|
||||
auto home = utils::path::absolute(utils::get_environment_variable("USERPROFILE"));
|
||||
auto home =
|
||||
utils::path::absolute(utils::get_environment_variable("USERPROFILE"));
|
||||
EXPECT_STREQ(home.c_str(), utils::path::absolute("%USERPROFILE%").c_str());
|
||||
#else // !defined(_WIN32)
|
||||
auto home = utils::path::absolute(utils::get_environment_variable("HOME"));
|
||||
|
Reference in New Issue
Block a user