Skip to content

Commit 2a944c4

Browse files
committed
Fix tests, fixit -> fix-it
1 parent 823bfd4 commit 2a944c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ TEST(Diagnostics, Tags) {
19881988
withTag(DiagnosticTag::Deprecated))));
19891989

19901990
Test = Annotations(R"cpp(
1991-
$typedef[[typedef int INT]];
1991+
$typedef[[typedef]] int INT;
19921992
)cpp");
19931993
TU.Code = Test.code();
19941994
TU.ClangTidyProvider = addTidyChecks("modernize-use-using");
@@ -2002,7 +2002,7 @@ TEST(Diagnostics, Tags) {
20022002
TEST(Diagnostics, TidyDiagsArentAffectedFromWerror) {
20032003
TestTU TU;
20042004
TU.ExtraArgs = {"-Werror"};
2005-
Annotations Test(R"cpp($typedef[[typedef int INT]]; // error-ok)cpp");
2005+
Annotations Test(R"cpp($typedef[[typedef]] int INT; // error-ok)cpp");
20062006
TU.Code = Test.code().str();
20072007
TU.ClangTidyProvider = addTidyChecks("modernize-use-using");
20082008
EXPECT_THAT(

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ Changes in existing checks
103103
^^^^^^^^^^^^^^^^^^^^^^^^^^
104104

105105
- Improved :doc:`modernize-use-using
106-
<clang-tidy/checks/modernize/use-using>` check by removing many incorrect
107-
fixits and providing fixits where before there was only a warning.
106+
<clang-tidy/checks/modernize/use-using>` check by removing many incorrect
107+
fix-its and providing fix-its where before there was only a warning.
108108

109109
Removed checks
110110
^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)