From ce1d5e8443dd176682ea5fb3b9d38c747bebb695 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Mon, 11 Jan 2021 19:54:02 +0100 Subject: [PATCH] test: fix expected output for CXX indexer tests --- src/test/CxxParserTestSuite.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/test/CxxParserTestSuite.cpp b/src/test/CxxParserTestSuite.cpp index b60ae568..67470658 100644 --- a/src/test/CxxParserTestSuite.cpp +++ b/src/test/CxxParserTestSuite.cpp @@ -2921,7 +2921,7 @@ TEST_CASE( " A a;\n" "}\n"); - REQUIRE(utility::containsElement(client->typeUses, L"A<&g_p> -> P g_p <9:4 9:6>")); + REQUIRE(utility::containsElement(client->typeUses, L"A -> P g_p <9:4 9:6>")); } TEST_CASE( @@ -3195,8 +3195,7 @@ TEST_CASE( "{\n" "};\n"); - REQUIRE( - utility::containsElement(client->typeUses, L"A<&g_p> -> P g_p <8:9 8:11>")); + REQUIRE(utility::containsElement(client->typeUses, L"A -> P g_p <8:9 8:11>")); } TEST_CASE("cxx parser finds template template argument of explicit template specialization") @@ -3312,8 +3311,8 @@ TEST_CASE( "{\n" "};\n"); - REQUIRE(utility::containsElement( - client->typeUses, L"A<&g_p, q> -> P g_p <8:9 8:11>")); + REQUIRE( + utility::containsElement(client->typeUses, L"A -> P g_p <8:9 8:11>")); REQUIRE(utility::containsElement( client->localSymbols, L"input.cc<7:14> <8:14 8:14>")); }