[Liblas-commits] hg-main-tree: fix test for unix

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Aug 11 16:31:30 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/a1fdabfec72d
changeset: 1040:a1fdabfec72d
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Thu Aug 11 13:31:17 2011 -0700
description:
fix test for unix

diffstat:

 test/unit/FileUtilsTest.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d3e2cdb09606 -r a1fdabfec72d test/unit/FileUtilsTest.cpp
--- a/test/unit/FileUtilsTest.cpp	Thu Aug 11 13:29:33 2011 -0700
+++ b/test/unit/FileUtilsTest.cpp	Thu Aug 11 13:31:17 2011 -0700
@@ -110,7 +110,7 @@
 
     // check 1-arg version: make absolute when file is already absolute
     const string b = FileUtils::toAbsolutePath(drive + "/baz/foo.txt");
-    BOOST_CHECK_EQUAL(b, "A:/baz/foo.txt");
+    BOOST_CHECK_EQUAL(b, drive + "/baz/foo.txt");
 
     // check 2-arg version: make absolute when file relative, via given base
     const string c = FileUtils::toAbsolutePath("foo.txt", drive + "/a/b/c/d");


More information about the Liblas-commits mailing list