path::extension() of parent directory #166
Labels
available on master
Fix is done on master branch, issue closed on next release
bug
Something isn't working
Milestone
Describe the bug
extension of a path ending in parent directory returns "."
To Reproduce
CHECK(fs::path("/foo/..").extension() == ".");
Expected behavior
but reference site is different ( https://en.cppreference.com/w/cpp/filesystem/path/extension )
CHECK(fs::path("/foo/..").extension() == "");
Additional context
nothing
The text was updated successfully, but these errors were encountered: