LibTest: Don't try to pass stderr to warnln

This commit is contained in:
Hendiadyoin1 2021-06-03 14:09:38 +02:00 committed by Ali Mohammad Pur
commit 9270fb1e69
Notes: sideshowbarker 2024-07-18 12:25:52 +09:00

View file

@ -40,7 +40,7 @@ void current_test_case_did_fail();
#undef TODO
#define TODO() \
do { \
::AK::warnln(stderr, "\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
::AK::warnln("\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
::abort(); \
} while (false)