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:
parent
69d7550bd6
commit
99892f21dc
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user