mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibTest: Don't try to pass stderr to warnln
This commit is contained in:
parent
f5a978c1aa
commit
9270fb1e69
Notes:
sideshowbarker
2024-07-18 12:25:52 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 9270fb1e69
Pull-request: https://github.com/SerenityOS/serenity/pull/7294
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 4 additions and 4 deletions
|
@ -38,10 +38,10 @@ void current_test_case_did_fail();
|
|||
} while (false)
|
||||
|
||||
#undef TODO
|
||||
#define TODO() \
|
||||
do { \
|
||||
::AK::warnln(stderr, "\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
|
||||
::abort(); \
|
||||
#define TODO() \
|
||||
do { \
|
||||
::AK::warnln("\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
|
||||
::abort(); \
|
||||
} while (false)
|
||||
|
||||
#define EXPECT_EQ(a, b) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue