diff --git a/test/fs.t.cpp b/test/fs.t.cpp index e277d7105..d5478a7bd 100644 --- a/test/fs.t.cpp +++ b/test/fs.t.cpp @@ -35,7 +35,7 @@ Context context; int main (int, char**) { - UnitTest t (110); + UnitTest t (111); // Ensure environment has no influence. unsetenv ("TASKDATA"); @@ -123,6 +123,9 @@ int main (int, char**) t.ok (p3.is_absolute (), "/tmp is_absolute"); t.ok (p4.is_absolute (), "/a/b/c/file.ext is_absolute"); + Path p5 ("~/file.ext"); + t.notok (p5.name () == "~/file.ext", "~/file.ext --> ! ~/file.ext"); + Directory tmp ("tmp"); tmp.create (); t.ok (tmp.exists (), "tmp dir created.");