diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-08-21 06:35:41 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-08-21 06:35:41 +0000 |
| commit | ef793ccbdc7d64bd2fdc0780481b3aa85f03e0d4 (patch) | |
| tree | 90fc4788a299a4c2f01d9a383c4f8c8ee6f03785 | |
| parent | 19e4d6b33c8d02e6816a00e5d6cf5250e5c11225 (diff) | |
| download | bcm5719-llvm-ef793ccbdc7d64bd2fdc0780481b3aa85f03e0d4.tar.gz bcm5719-llvm-ef793ccbdc7d64bd2fdc0780481b3aa85f03e0d4.zip | |
Correct for recent assert change.
llvm-svn: 79601
| -rw-r--r-- | llvm/unittests/ADT/APIntTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/APIntTest.cpp b/llvm/unittests/ADT/APIntTest.cpp index 0e094ffaefd..a89a960a078 100644 --- a/llvm/unittests/ADT/APIntTest.cpp +++ b/llvm/unittests/ADT/APIntTest.cpp @@ -323,7 +323,7 @@ TEST(APIntTest, StringDeath) { EXPECT_DEATH(APInt(32, "", 0), "Invalid string length"); EXPECT_DEATH(APInt(32, "0", 0), "Radix should be 2, 8, 10, or 16!"); EXPECT_DEATH(APInt(32, "", 10), "Invalid string length"); - EXPECT_DEATH(APInt(32, "-", 10), "string is only a minus!"); + EXPECT_DEATH(APInt(32, "-", 10), "String is only a sign, needs a value."); EXPECT_DEATH(APInt(1, "1234", 10), "Insufficient bit width"); EXPECT_DEATH(APInt(32, "\0", 10), "Invalid string length"); EXPECT_DEATH(APInt(32, StringRef("1\02", 3), 10), "Invalid character in digit string"); |

