Revert "Revert "test: fix expected output for CXX indexer tests"" (#1137)

This reverts commit e3c0ed9349.
This commit is contained in:
Malte Langkabel
2021-02-08 12:47:08 +01:00
committed by GitHub
parent a4e0296471
commit b642929790
+4 -5
View File
@@ -2921,7 +2921,7 @@ TEST_CASE(
" A<g_p> a;\n"
"}\n");
REQUIRE(utility::containsElement<std::wstring>(client->typeUses, L"A<&g_p> -> P g_p <9:4 9:6>"));
REQUIRE(utility::containsElement<std::wstring>(client->typeUses, L"A<g_p> -> P g_p <9:4 9:6>"));
}
TEST_CASE(
@@ -3195,8 +3195,7 @@ TEST_CASE(
"{\n"
"};\n");
REQUIRE(
utility::containsElement<std::wstring>(client->typeUses, L"A<&g_p> -> P g_p <8:9 8:11>"));
REQUIRE(utility::containsElement<std::wstring>(client->typeUses, L"A<g_p> -> 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<std::wstring>(
client->typeUses, L"A<&g_p, q> -> P g_p <8:9 8:11>"));
REQUIRE(
utility::containsElement<std::wstring>(client->typeUses, L"A<g_p, q> -> P g_p <8:9 8:11>"));
REQUIRE(utility::containsElement<std::wstring>(
client->localSymbols, L"input.cc<7:14> <8:14 8:14>"));
}