diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-06-14 16:24:51 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-06-18 15:05:38 +0300 |
commit | 14e9635241fca41a7ba153040368256612ccb16f (patch) | |
tree | 73c24c5ac047338cd7afffe97db29f3188b14445 /tests | |
parent | d326f16dd40013e8bea639ff95c2b249e7867e5e (diff) |
Check path validity in path::init() on Windows
Diffstat (limited to 'tests')
-rw-r--r-- | tests/path/driver.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/path/driver.cxx b/tests/path/driver.cxx index de8e8b1..f4b145a 100644 --- a/tests/path/driver.cxx +++ b/tests/path/driver.cxx @@ -34,14 +34,13 @@ main () assert (path ("//").string () == "/"); assert (path ("/tmp/foo/").string () == "/tmp/foo"); #ifdef _WIN32 - assert (path ("\\\\").string () == "\\"); assert (path ("/\\").string () == "/"); assert (path ("C:").string () == "C:"); assert (path ("C:\\").string () == "C:"); assert (path ("C:\\tmp\\foo\\").string () == "C:\\tmp\\foo"); #endif - // abslote/relative/root + // abslute/relative/root // #ifndef _WIN32 assert (path ("/").root ()); @@ -57,7 +56,6 @@ main () assert (path ("bar\\baz").relative ()); #endif - // leaf // #ifndef _WIN32 |