Revert "test: fix expected output for CXX indexer tests"
This reverts commit ce1d5e8443.
This commit is contained in:
@@ -2921,7 +2921,7 @@ TEST_CASE(
|
|||||||
" A<g_p> a;\n"
|
" A<g_p> a;\n"
|
||||||
"}\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(
|
TEST_CASE(
|
||||||
@@ -3195,7 +3195,8 @@ TEST_CASE(
|
|||||||
"{\n"
|
"{\n"
|
||||||
"};\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")
|
TEST_CASE("cxx parser finds template template argument of explicit template specialization")
|
||||||
@@ -3311,8 +3312,8 @@ TEST_CASE(
|
|||||||
"{\n"
|
"{\n"
|
||||||
"};\n");
|
"};\n");
|
||||||
|
|
||||||
REQUIRE(
|
REQUIRE(utility::containsElement<std::wstring>(
|
||||||
utility::containsElement<std::wstring>(client->typeUses, L"A<g_p, q> -> P g_p <8:9 8:11>"));
|
client->typeUses, L"A<&g_p, q> -> P g_p <8:9 8:11>"));
|
||||||
REQUIRE(utility::containsElement<std::wstring>(
|
REQUIRE(utility::containsElement<std::wstring>(
|
||||||
client->localSymbols, L"input.cc<7:14> <8:14 8:14>"));
|
client->localSymbols, L"input.cc<7:14> <8:14 8:14>"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user