🐛 fix logic

This commit is contained in:
Niels Lohmann 2022-07-18 22:50:34 +02:00
parent 0841d58ab6
commit 2f80a8ee34
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -11,11 +11,7 @@ namespace utils
inline bool check_testsuite_downloaded() inline bool check_testsuite_downloaded()
{ {
std::unique_ptr<std::FILE, decltype(&std::fclose)> file(std::fopen(TEST_DATA_DIRECTORY "/README.md", "r"), &std::fclose); std::unique_ptr<std::FILE, decltype(&std::fclose)> file(std::fopen(TEST_DATA_DIRECTORY "/README.md", "r"), &std::fclose);
if (file) return file.operator bool();
{
return false;
}
return true;
} }
TEST_CASE("check test suite is downloaded") TEST_CASE("check test suite is downloaded")