Skip to content

Commit

Permalink
[Support] Update Error unit test to remove implementation specific be…
Browse files Browse the repository at this point in the history
…haviour.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263610 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lhames committed Mar 16, 2016
1 parent b922132 commit 9d837c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unittests/Support/ErrorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 9d837c9

Please sign in to comment.