1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:47:45 +00:00

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
parent f5a978c1aa
commit 9270fb1e69

View file

@ -38,10 +38,10 @@ void current_test_case_did_fail();
} while (false) } while (false)
#undef TODO #undef TODO
#define TODO() \ #define TODO() \
do { \ 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(); \ ::abort(); \
} while (false) } while (false)
#define EXPECT_EQ(a, b) \ #define EXPECT_EQ(a, b) \