File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -642,10 +642,7 @@ TEST_F(TargetDeclTest, RewrittenBinaryOperator) {
642
642
bool x = (Foo(1) [[!=]] Foo(2));
643
643
)cpp" ;
644
644
EXPECT_DECLS (" CXXRewrittenBinaryOperator" ,
645
- {" std::strong_ordering operator<=>(const Foo &) const = default" ,
646
- Rel::TemplatePattern},
647
- {" bool operator==(const Foo &) const noexcept = default" ,
648
- Rel::TemplateInstantiation});
645
+ {" bool operator==(const Foo &) const noexcept = default" });
649
646
}
650
647
651
648
TEST_F (TargetDeclTest, FunctionTemplate) {
Original file line number Diff line number Diff line change @@ -3091,7 +3091,7 @@ TEST(Hover, All) {
3091
3091
HI.NamespaceScope = " " ;
3092
3092
HI.Definition =
3093
3093
" bool operator==(const Foo &) const noexcept = default" ;
3094
- HI.Documentation = " Foo spaceship " ;
3094
+ HI.Documentation = " " ;
3095
3095
}},
3096
3096
};
3097
3097
@@ -3894,7 +3894,7 @@ TEST(Hover, SpaceshipTemplateNoCrash) {
3894
3894
TU.ExtraArgs .push_back (" -std=c++20" );
3895
3895
auto AST = TU.build ();
3896
3896
auto HI = getHover (AST, T.point (), format::getLLVMStyle (), nullptr );
3897
- EXPECT_EQ (HI->Documentation , " Foo bar baz " );
3897
+ EXPECT_EQ (HI->Documentation , " " );
3898
3898
}
3899
3899
3900
3900
TEST (Hover, ForwardStructNoCrash) {
You can’t perform that action at this time.
0 commit comments