diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-06-13 19:33:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-06-18 15:05:38 +0300 |
commit | b2733572c98ce85457b3820afe8aa2f72614b858 (patch) | |
tree | 8c6fa2b2cf408eb11ed557d5e5f3491883c6f733 /tests/path | |
parent | 14e9635241fca41a7ba153040368256612ccb16f (diff) |
Add path::home()
Diffstat (limited to 'tests/path')
-rw-r--r-- | tests/path/driver.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/path/driver.cxx b/tests/path/driver.cxx index f4b145a..ad76940 100644 --- a/tests/path/driver.cxx +++ b/tests/path/driver.cxx @@ -40,7 +40,7 @@ main () assert (path ("C:\\tmp\\foo\\").string () == "C:\\tmp\\foo"); #endif - // abslute/relative/root + // absolute/relative/root // #ifndef _WIN32 assert (path ("/").root ()); @@ -301,6 +301,12 @@ main () path ("foo/bar/baz")); #endif + assert (path::temp_directory ().absolute ()); + assert (wpath::temp_directory ().absolute ()); + + assert (path::home ().absolute ()); + assert (wpath::home ().absolute ()); + /* path p ("../foo"); p.complete (); |