diff options
Diffstat (limited to 'llvm/unittests/Support/AlignmentTest.cpp')
| -rw-r--r-- | llvm/unittests/Support/AlignmentTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/Support/AlignmentTest.cpp b/llvm/unittests/Support/AlignmentTest.cpp index 0e251eb4921..83d6a727721 100644 --- a/llvm/unittests/Support/AlignmentTest.cpp +++ b/llvm/unittests/Support/AlignmentTest.cpp @@ -256,7 +256,8 @@ TEST(AlignmentDeathTest, InvalidCTors) { EXPECT_DEATH((Align(0)), "Value must not be 0"); for (uint64_t Value : getNonPowerOfTwo()) { EXPECT_DEATH((Align(Value)), "Alignment is not a power of 2"); - EXPECT_DEATH((MaybeAlign(Value)), "Alignment is not 0 or a power of 2"); + EXPECT_DEATH((MaybeAlign(Value)), + "Alignment is neither 0 nor a power of 2"); } } |

