diff --git a/tests/src/test_bitexception.cpp b/tests/src/test_bitexception.cpp index 480ea31e..e2167593 100644 --- a/tests/src/test_bitexception.cpp +++ b/tests/src/test_bitexception.cpp @@ -10,7 +10,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -#if !defined(__GNUC__) || __GNUC__ >= 5 +#if !defined(__GNUC__) || __GNUC__ >= 5 || defined( __clang__ ) #include @@ -253,7 +253,7 @@ TEST_CASE( "BitException: Checking if failed files are moved to the exception co REQUIRE( exceptionFailedFiles.size() == 1 ); REQUIRE( exceptionFailedFiles[ 0 ].first == BIT7Z_STRING( "hello.txt" ) ); REQUIRE( exceptionFailedFiles[ 0 ].second == std::errc::bad_file_descriptor ); - // Note: BitException should have cleared failedFiles, so it is again usable! + // Note: BitException should have cleared failedFiles, so it is again usable. REQUIRE( failedFiles.empty() ); // NOLINT(bugprone-use-after-move) //-V1030 }