aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-08-21 06:35:41 +0000
committerBill Wendling <isanbard@gmail.com>2009-08-21 06:35:41 +0000
commit5504225c2accd5331ec56a739576c5b027ca868a (patch)
tree68a488d1468a18af63c18e90c3be060355f14202 /unittests
parentf7a86a4e1d7103cd39bf6560a863e42c0a8d5008 (diff)
downloadexternal_llvm-5504225c2accd5331ec56a739576c5b027ca868a.zip
external_llvm-5504225c2accd5331ec56a739576c5b027ca868a.tar.gz
external_llvm-5504225c2accd5331ec56a739576c5b027ca868a.tar.bz2
Correct for recent assert change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/APIntTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/APIntTest.cpp b/unittests/ADT/APIntTest.cpp
index 0e094ff..a89a960 100644
--- a/unittests/ADT/APIntTest.cpp
+++ b/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");