🐛 fix logic
This commit is contained in:
parent
0841d58ab6
commit
2f80a8ee34
@ -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")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user