From b2733572c98ce85457b3820afe8aa2f72614b858 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 13 Jun 2016 19:33:15 +0300 Subject: Add path::home() --- tests/path/driver.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') 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 (); -- cgit v1.1