Skip to content

Commit 7282f9d

Browse files
committed
fixup! fix FindSymbolsTests.cpp
1 parent 4c9b161 commit 7282f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ TEST(WorkspaceSymbols, Unnamed) {
106106
ElementsAre(AllOf(qName("UnnamedStruct"),
107107
withKind(SymbolKind::Variable))));
108108
EXPECT_THAT(getSymbols(TU, "InUnnamed"),
109-
ElementsAre(AllOf(qName("(anonymous struct)::InUnnamed"),
109+
ElementsAre(AllOf(qName("(unnamed struct)::InUnnamed"),
110110
withKind(SymbolKind::Field))));
111111
}
112112

@@ -526,7 +526,7 @@ TEST(DocumentSymbols, Unnamed) {
526526
)cpp";
527527
EXPECT_THAT(
528528
getSymbols(TU.build()),
529-
ElementsAre(AllOf(withName("(anonymous struct)"),
529+
ElementsAre(AllOf(withName("(unnamed struct)"),
530530
withKind(SymbolKind::Struct), withDetail("struct"),
531531
children(AllOf(withName("InUnnamed"),
532532
withKind(SymbolKind::Field),

0 commit comments

Comments
 (0)