#include #include #include #include TEST_CASE("StripFilename", "[common]") { REQUIRE("/home/foo" == fs::path("/home/foo/bar.txt").parent_path()); REQUIRE("" == fs::path("bar.txt").parent_path()); }