summaryrefslogtreecommitdiff
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
commit35f4d41471f73a186e8036f10b3d6071aa3b43ec (patch)
treef668ff9c99588d395e1db629cafd30acd2b59c7d
parentd976d43f23d67e18f097d72fd90923627f334c79 (diff)
downloadllvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.tar.gz
llvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.tar.bz2
llvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.tar.xz
Relax conditions of test added in r188156 to fix it on Windows
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188157 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--unittests/Transforms/Utils/SpecialCaseList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Transforms/Utils/SpecialCaseList.cpp b/unittests/Transforms/Utils/SpecialCaseList.cpp
index aee412dcb5..42900b79a2 100644
--- a/unittests/Transforms/Utils/SpecialCaseList.cpp
+++ b/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) {