summaryrefslogtreecommitdiffstats
path: root/test/path_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/path_test.cpp')
-rw-r--r--test/path_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/path_test.cpp b/test/path_test.cpp
index 9391063..538a262 100644
--- a/test/path_test.cpp
+++ b/test/path_test.cpp
@@ -78,8 +78,7 @@ main()
CHECK(!strcmp(Path("/").symbol(), ""));
Path original(std::string("/foo/bar"));
- Path copy(original);
- CHECK(original == copy);
+ CHECK(original == Path(original));
bool valid = true;
try {