summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-03-16 01:20:54 +0000
committerLang Hames <lhames@gmail.com>2016-03-16 01:20:54 +0000
commit9fb8e1b2a5d54f205a2a5db3136ab8cdc246333c (patch)
tree87e994f04215f4c344256d91687fb1cd445f92cf /llvm/unittests/Support
parentf7f6d3e93f739077dc280532d906ca523489b01f (diff)
downloadbcm5719-llvm-9fb8e1b2a5d54f205a2a5db3136ab8cdc246333c.tar.gz
bcm5719-llvm-9fb8e1b2a5d54f205a2a5db3136ab8cdc246333c.zip
[Support] Update Error unit test to remove implementation specific behaviour.
llvm-svn: 263610
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/ErrorTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/Support/ErrorTest.cpp b/llvm/unittests/Support/ErrorTest.cpp
index 3fd5e093dad..ed3d1c1852c 100644
--- a/llvm/unittests/Support/ErrorTest.cpp
+++ b/llvm/unittests/Support/ErrorTest.cpp
@@ -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());
}
OpenPOWER on IntegriCloud