Skip to content

Commit

Permalink
👌 apply review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jul 19, 2022
1 parent 2f80a8e commit 5c2521a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/make_test_data_available.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace utils
inline bool check_testsuite_downloaded()
{
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")
Expand Down

0 comments on commit 5c2521a

Please sign in to comment.