diff options
author | Théo Degioanni <theo.degioanni.llvm.deluge062@simplelogin.fr> | 2024-04-22 22:03:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 22:03:56 +0200 |
commit | 7c5854673391940d578c591c727614bf50b78301 (patch) | |
tree | 99ac2c3cce4e14c7e85e727de42d81d982916972 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | bcd150d2906ac83ea0ab680e981770a71c021a03 (diff) | |
download | llvm-7c5854673391940d578c591c727614bf50b78301.zip llvm-7c5854673391940d578c591c727614bf50b78301.tar.gz llvm-7c5854673391940d578c591c727614bf50b78301.tar.bz2 |
[nfc][llvm] Fix a typo in MathExtras.h testing (#89653)
I made a small typo when writing a test for MathExtras.h, sorry!
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
-rw-r--r-- | llvm/unittests/Support/MathExtrasTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/Support/MathExtrasTest.cpp b/llvm/unittests/Support/MathExtrasTest.cpp index 2186558..d09f987 100644 --- a/llvm/unittests/Support/MathExtrasTest.cpp +++ b/llvm/unittests/Support/MathExtrasTest.cpp @@ -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) { |