summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-12 09:04:58 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-12 09:04:58 +0000
commit34894630a118c94c4673799764305ce34cb6ae64 (patch)
tree51fd6d78a706122f650e0dde0c9ba35826bcaee5 /llvm/unittests/Transforms
parent9e4fdd26566072ff99cbcb02934848406bdbeb58 (diff)
downloadbcm5719-llvm-34894630a118c94c4673799764305ce34cb6ae64.tar.gz
bcm5719-llvm-34894630a118c94c4673799764305ce34cb6ae64.zip
Relax conditions of test added in r188156 to fix it on Windows
llvm-svn: 188157
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r--llvm/unittests/Transforms/Utils/SpecialCaseList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp b/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp
index aee412dcb5b..42900b79a26 100644
--- a/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp
+++ b/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp
@@ -176,7 +176,7 @@ TEST_F(SpecialCaseListTest, InvalidSpecialCaseList) {
EXPECT_EQ("Malformed regex in line 2: 'fun(a': parentheses not balanced",
Error);
EXPECT_EQ(0, SpecialCaseList::create("unexisting", Error));
- EXPECT_EQ("Can't open file 'unexisting': No such file or directory", Error);
+ EXPECT_EQ(0U, Error.find("Can't open file 'unexisting':"));
}
TEST_F(SpecialCaseListTest, EmptySpecialCaseList) {
OpenPOWER on IntegriCloud