Skip to content

Commit 7c58546

Browse files
authored
[nfc][llvm] Fix a typo in MathExtras.h testing (#89653)
I made a small typo when writing a test for MathExtras.h, sorry!
1 parent bcd150d commit 7c58546

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/unittests/Support/MathExtrasTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ TEST(MathExtras, onesMask) {
4141
TEST(MathExtras, isIntN) {
4242
EXPECT_TRUE(isIntN(16, 32767));
4343
EXPECT_FALSE(isIntN(16, 32768));
44-
EXPECT_TRUE(isUIntN(0, 0));
45-
EXPECT_FALSE(isUIntN(0, 1));
46-
EXPECT_FALSE(isUIntN(0, -1));
44+
EXPECT_TRUE(isIntN(0, 0));
45+
EXPECT_FALSE(isIntN(0, 1));
46+
EXPECT_FALSE(isIntN(0, -1));
4747
}
4848

4949
TEST(MathExtras, isUIntN) {

0 commit comments

Comments
 (0)