Fix windows test

This commit is contained in:
gabime 2024-11-30 17:44:13 +02:00
parent 9fa2232f67
commit ce3d047707

View File

@ -206,7 +206,7 @@ TEST_CASE("os::fwrite_bytes", "[os]") {
const char* filename = "log_tests/test_fwrite_bytes.txt";
const char *msg = "hello";
prepare_logdir();
REQUIRE(create_dir("log_tests"));
REQUIRE(create_dir("log_tests") == true);
{
auto_closer closer(std::fopen(filename, "wb"));
REQUIRE(closer.fp != nullptr);