summaryrefslogtreecommitdiff
path: root/clang/unittests/Format/MatchFilePathTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/MatchFilePathTest.cpp')
-rw-r--r--clang/unittests/Format/MatchFilePathTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/MatchFilePathTest.cpp b/clang/unittests/Format/MatchFilePathTest.cpp
index f41cf7f97159..28f665635718 100644
--- a/clang/unittests/Format/MatchFilePathTest.cpp
+++ b/clang/unittests/Format/MatchFilePathTest.cpp
@@ -53,7 +53,7 @@ TEST_F(MatchFilePathTest, Newline) {
TEST_F(MatchFilePathTest, Star) {
EXPECT_TRUE(match(std::string(50, 'a'), "*a*a*a*a*a*a*a*a*a*a"));
- EXPECT_FALSE(match((std::string(50, 'a') + 'b'), "*a*a*a*a*a*a*a*a*a*a"));
+ EXPECT_FALSE(match(std::string(50, 'a') + 'b', "*a*a*a*a*a*a*a*a*a*a"));
}
TEST_F(MatchFilePathTest, CaseSensitive) {