From 35f4d41471f73a186e8036f10b3d6071aa3b43ec Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Mon, 12 Aug 2013 09:04:58 +0000 Subject: [PATCH] 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 --- unittests/Transforms/Utils/SpecialCaseList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Transforms/Utils/SpecialCaseList.cpp b/unittests/Transforms/Utils/SpecialCaseList.cpp index aee412dcb5b..42900b79a26 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) {