Correct for recent assert change.

llvm-svn: 79601
This commit is contained in:
Bill Wendling 2009-08-21 06:35:41 +00:00
parent 19e4d6b33c
commit ef793ccbdc
1 changed files with 1 additions and 1 deletions

View File

@ -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");