File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -918,12 +918,14 @@ TEST(DiagnosticTest, ClangTidySelfContainedDiagsFormatting) {
918
918
" prefer using 'override' or (rarely) 'final' "
919
919
" instead of 'virtual'" ,
920
920
{TextEdit{Main.range (" override1" ), " override" },
921
- TextEdit{Main.range (" virtual1" ), " " }}};
921
+ TextEdit{Main.range (" virtual1" ), " " }},
922
+ {}};
922
923
clangd::Fix const ExpectedFix2{
923
924
" prefer using 'override' or (rarely) 'final' "
924
925
" instead of 'virtual'" ,
925
926
{TextEdit{Main.range (" override2" ), " override" },
926
- TextEdit{Main.range (" virtual2" ), " " }}};
927
+ TextEdit{Main.range (" virtual2" ), " " }},
928
+ {}};
927
929
// Note that in the Fix we expect the "virtual" keyword and the following
928
930
// whitespace to be deleted
929
931
EXPECT_THAT (TU.build ().getDiagnostics (),
You can’t perform that action at this time.
0 commit comments