Skip to content

Commit 57ae618

Browse files
authored
[libc] Fix signbit include test. (llvm#98793)
1 parent dfcc898 commit 57ae618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/include/SignbitTest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ template <typename T> class SignbitTest : public LIBC_NAMESPACE::testing::Test {
2323

2424
void testSpecialNumbers(SignbitFunc func) {
2525
EXPECT_EQ(func(1), 0);
26-
EXPECT_EQ(func(-1), 1);
26+
EXPECT_NE(func(-1), 0);
2727
}
2828
};
2929

0 commit comments

Comments
 (0)