1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[Support] Update Error unit test to remove implementation specific behaviour.

llvm-svn: 263610
This commit is contained in:
Lang Hames 2016-03-16 01:20:54 +00:00
parent 69d7550bd6
commit 99892f21dc

View File

@ -412,8 +412,7 @@ TEST(Error, CheckExpected) {
#ifndef NDEBUG
{
Expected<int> A = make_error<CustomError>(42);
EXPECT_DEATH(*A, "\\(!HasError && \"Cannot get value "
"when an error exists!\"\\)")
EXPECT_DEATH(*A, "!HasError && \"Cannot get value when an error exists!\"")
<< "Incorrect Expected error value";
consumeError(A.takeError());
}