We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11044de commit 6f4ddefCopy full SHA for 6f4ddef
libc/test/UnitTest/ZxTest.h
@@ -14,14 +14,6 @@
14
15
#define WITH_SIGNAL(X) #X
16
17
-// These macros are used in string unittests.
18
-#define ASSERT_ERRNO_EQ(VAL) \
19
- ASSERT_EQ(VAL, static_cast<int>(LIBC_NAMESPACE::libc_errno))
20
-#define ASSERT_ERRNO_SUCCESS() \
21
- ASSERT_EQ(0, static_cast<int>(LIBC_NAMESPACE::libc_errno))
22
-#define ASSERT_ERRNO_FAILURE() \
23
- ASSERT_NE(0, static_cast<int>(LIBC_NAMESPACE::libc_errno))
24
-
25
#ifndef EXPECT_DEATH
26
// Since zxtest has ASSERT_DEATH but not EXPECT_DEATH, wrap calling it
27
// in a lambda returning void to swallow any early returns so that this
0 commit comments