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 8083813 commit b5b86c2Copy full SHA for b5b86c2
libc/test/src/sys/ioctl/linux/ioctl_test.cpp
@@ -30,5 +30,6 @@ TEST(LlvmLibcSysIoctlTest, InvalidCommandENOTTY) {
30
// 0xDEADBEEF is just a random nonexistent command;
31
// calling this should always fail with ENOTTY
32
int ret = LIBC_NAMESPACE::ioctl(3, 0xDEADBEEF, NULL);
33
- ASSERT_TRUE(ret == -1 && errno == ENOTTY);
+ ASSERT_EQ(ret, -1);
34
+ ASSERT_ERRNO_EQ(ENOTTY);
35
}
0 commit comments