Skip to content

Commit

Permalink
[nfc][llvm] Fix a typo in MathExtras.h testing (#89653)
Browse files Browse the repository at this point in the history
I made a small typo when writing a test for MathExtras.h, sorry!
  • Loading branch information
Moxinilian committed Apr 22, 2024
1 parent bcd150d commit 7c58546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/unittests/Support/MathExtrasTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ TEST(MathExtras, onesMask) {
TEST(MathExtras, isIntN) {
EXPECT_TRUE(isIntN(16, 32767));
EXPECT_FALSE(isIntN(16, 32768));
EXPECT_TRUE(isUIntN(0, 0));
EXPECT_FALSE(isUIntN(0, 1));
EXPECT_FALSE(isUIntN(0, -1));
EXPECT_TRUE(isIntN(0, 0));
EXPECT_FALSE(isIntN(0, 1));
EXPECT_FALSE(isIntN(0, -1));
}

TEST(MathExtras, isUIntN) {
Expand Down

0 comments on commit 7c58546

Please sign in to comment.