diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-08-12 09:04:58 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-08-12 09:04:58 +0000 |
commit | 35f4d41471f73a186e8036f10b3d6071aa3b43ec (patch) | |
tree | f668ff9c99588d395e1db629cafd30acd2b59c7d /unittests/Transforms/Utils | |
parent | d976d43f23d67e18f097d72fd90923627f334c79 (diff) | |
download | external_llvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.zip external_llvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.tar.gz external_llvm-35f4d41471f73a186e8036f10b3d6071aa3b43ec.tar.bz2 |
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
Diffstat (limited to 'unittests/Transforms/Utils')
-rw-r--r-- | unittests/Transforms/Utils/SpecialCaseList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Transforms/Utils/SpecialCaseList.cpp b/unittests/Transforms/Utils/SpecialCaseList.cpp index aee412d..42900b7 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) { |