Skip to content

Commit e6d55c0

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,8 +1470,8 @@ TEST_F(SymbolCollectorTest, NamelessSymbols) {
14701470
} Foo;
14711471
)";
14721472
runSymbolCollector(Header, /*Main=*/"");
1473-
EXPECT_THAT(Symbols, UnorderedElementsAre(qName("Foo"),
1474-
qName("(unnamed struct)::a")));
1473+
EXPECT_THAT(Symbols,
1474+
UnorderedElementsAre(qName("Foo"), qName("(unnamed struct)::a")));
14751475
}
14761476

14771477
TEST_F(SymbolCollectorTest, SymbolFormedFromRegisteredSchemeFromMacro) {

0 commit comments

Comments
 (0)