👌 apply review comment

This commit is contained in:
Niels Lohmann 2022-07-19 12:14:07 +02:00
parent 2f80a8ee34
commit 5c2521aa51
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -11,7 +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);
return file.operator bool(); return file != nullptr;
} }
TEST_CASE("check test suite is downloaded") TEST_CASE("check test suite is downloaded")