Skip to content

Commit 9270fb1

Browse files
Hendiadyoin1alimpfard
authored andcommitted
LibTest: Don't try to pass stderr to warnln
1 parent f5a978c commit 9270fb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Userland/Libraries/LibTest/Macros.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ void current_test_case_did_fail();
3838
} while (false)
3939

4040
#undef TODO
41-
#define TODO() \
42-
do { \
43-
::AK::warnln(stderr, "\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
44-
::abort(); \
41+
#define TODO() \
42+
do { \
43+
::AK::warnln("\033[31;1mFAIL\033[0m: {}:{}: TODO() called", __FILE__, __LINE__); \
44+
::abort(); \
4545
} while (false)
4646

4747
#define EXPECT_EQ(a, b) \

0 commit comments

Comments
 (0)