From 6c0f2612620dac7b0a19792375d2852dc7de9264 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sun, 4 Nov 2018 11:24:17 +0100 Subject: [PATCH] Removed workaround in test. --- test/filesystem_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 58b222c..b164d04 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -1878,8 +1878,7 @@ TEST_CASE("30.10.15.25 last_write_time", "[filesystem][operations][fs.op.last_wr CHECK(std::abs(std::chrono::duration_cast(fs::last_write_time("foo") - now).count()) < 3); CHECK_THROWS_AS(fs::last_write_time("bar"), fs::filesystem_error); CHECK_NOTHROW(ft = fs::last_write_time("bar", ec)); - bool equal = (ft == fs::file_time_type::min()); - CHECK(equal); // Workaround a problem in catch with clang 7 and time_points. + CHECK(ft == fs::file_time_type::min()); CHECK(ec); ec.clear(); if (is_symlink_creation_supported()) {