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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/path_test.cpp b/test/path_test.cpp
index 6b95c4f..0ca2f45 100644
--- a/test/path_test.cpp
+++ b/test/path_test.cpp
@@ -74,8 +74,8 @@ main()
assert(!strcmp(Path("/foo/bar").symbol(), "bar"));
assert(!strcmp(Path("/").symbol(), ""));
- Path original(std::string("/foo/bar"));
- assert(original == Path(original));
+ const Path original(std::string("/foo/bar"));
+ assert(original == original);
bool valid = true;
try {