diff options
Diffstat (limited to 'clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp')
-rw-r--r-- | clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp b/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp index a1b6a93456d..3b0bd51ec91 100644 --- a/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp +++ b/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp @@ -421,7 +421,7 @@ TEST_F(RegistryTest, Errors) { constructMatcher("parameterCountIs", 3), Error.get()) .isNull()); EXPECT_EQ("Incorrect type for arg 2. (Expected = Matcher<CXXRecordDecl>) != " - "(Actual = Matcher<FunctionDecl>)", + "(Actual = Matcher<FunctionDecl|FunctionProtoType>)", Error->toString()); // Bad argument type with variadic. |