lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 34bd5dd: Remove a superfluous test


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 34bd5dd: Remove a superfluous test
Date: Tue, 11 May 2021 14:03:50 -0400 (EDT)

branch: master
commit 34bd5ddd81e742c47bcc97c8860c6a2ce6adba12
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Remove a superfluous test
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2021-05/msg00014.html
---
 authenticity_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/authenticity_test.cpp b/authenticity_test.cpp
index 91122b0..b7c6075 100644
--- a/authenticity_test.cpp
+++ b/authenticity_test.cpp
@@ -285,7 +285,7 @@ void PasskeyTest::TestFromAfar() const
     fs::path const tmp = "/tmp" / fs::path{__FILE__}.stem();
     fs::path const remote_dir_0(fs::absolute(tmp));
     fs::create_directory(remote_dir_0);
-    LMI_TEST(fs::exists(remote_dir_0) && fs::is_directory(remote_dir_0));
+    LMI_TEST(fs::is_directory(remote_dir_0));
     LMI_TEST_EQUAL(0, chdir(remote_dir_0.string().c_str()));
     LMI_TEST_EQUAL(remote_dir_0.string(), fs::current_path().string());
     Authenticity::ResetCache();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]