diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-19 14:00:11 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-19 14:00:11 +0300 |
commit | 1d55a8675ab7bc4a06a8b0eace34d51644ce410f (patch) | |
tree | 5096b05ab38a2dc7c6217fe680bed9ee14490813 /test | |
parent | 63f1d9bb7ce549fb4a864abd7743678bc2a66871 (diff) |
Fix bug in path_view::parent_path() where "/x.txt" was not returning "/" as the parent path.
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/path_view.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tests/path_view.cpp b/test/tests/path_view.cpp index 771cf628..01e61bf2 100644 --- a/test/tests/path_view.cpp +++ b/test/tests/path_view.cpp @@ -144,6 +144,7 @@ static inline void TestPathView() CheckPathView(""); CheckPathView("."); CheckPathView(".."); + CheckPathView("/3398e8946ce71e36910b7021170a08c141d8a696ca7226a4c9222ac5924d1f4c.random"); #ifdef _WIN32 // On Windows, UTF-8 and UTF-16 paths are equivalent and backslash conversion happens |