Revert "[ASTMatchers] Fix DynamicASTMatchersTests again"

This reverts commit 8a6631a983ec9c1d22cc77c5f55a524a651740f0.

The last fix seems good in Debug mode.

llvm-svn: 343738
This commit is contained in:
Fangrui Song 2018-10-03 22:56:26 +00:00
parent 1dbfdeb6e5
commit f7868ec25b
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ TEST(ParserTest, ParseMatcher) {
TEST(ParserTest, ParseComment) {
MockSema Sema;
Sema.expectMatcher("Foo");
Sema.parse(" Foo() # Bar() ");
for (const auto &E : Sema.Errors) {
EXPECT_EQ("", E);