diff --git a/tests/helpers.hpp b/tests/helpers.hpp index c5cb00a..186c3f2 100644 --- a/tests/helpers.hpp +++ b/tests/helpers.hpp @@ -23,6 +23,8 @@ class TempDir final { /** * @brief Construct a new TempDir object. * + * On construction, the temporary directory is removed recursively from disk, then created again to ensure it is empty. + * * @param directory Path to the temporary directory (e.g., "~/data"). */ inline explicit TempDir(const std::filesystem::path &directory) diff --git a/tests/test_all.cpp b/tests/test_all.cpp index 24df3ec..6184517 100644 --- a/tests/test_all.cpp +++ b/tests/test_all.cpp @@ -78,6 +78,7 @@ int main(int argc, char **argv) fmt::print("{}\n", help_message); return EXIT_FAILURE; } + // Otherwise, define argument to function mapping const std::unordered_map> tests = { {"test_args::none", test_args::none},