From 0c6bb92f3f59b6b86f3b7b56224677e79b2e6900 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Sep 2018 22:11:37 +0200 Subject: Lint with clang-tidy --- test/path_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/path_test.cpp') 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 { -- cgit v1.2.1