Fixed handling of relative paths on MSVC

This commit is contained in:
Bartek Kryza
2023-12-09 19:52:49 +01:00
parent a1f7769ba5
commit 6055c5684e
4 changed files with 12 additions and 11 deletions

View File

@@ -51,8 +51,8 @@ load_config(const std::string &test_name)
const auto compilation_database_dir = canonical(
std::filesystem::current_path() / std::filesystem::path{".."});
const auto output_directory =
std::filesystem::current_path() / std::filesystem::path{"diagrams"};
const auto output_directory = weakly_canonical(
std::filesystem::current_path() / std::filesystem::path{"diagrams"});
res.first = clanguml::config::load(test_config_path, true, false, true);