diff --git a/tests/test_all.cpp b/tests/test_all.cpp index 784f620..b14e087 100644 --- a/tests/test_all.cpp +++ b/tests/test_all.cpp @@ -61,7 +61,9 @@ int main(int argc, { #if defined(_WIN32) // Setup UTF-8 input/output on Windows (does nothing on other platforms) - core::io::setup_utf8_console(); + if (const auto e = core::io::setup_utf8_console(); e.has_value()) { + fmt::print(stderr, "Warning: {}\n", *e); + } #endif // Define the formatted help message