diff options
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp index 70e320b6c03..8fdfe40bc77 100644 --- a/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp +++ b/clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp @@ -89,7 +89,8 @@ TEST(NamespaceCommentCheckTest, FixWrongComments) { "} // namespace", runCheckOnCode<NamespaceCommentCheck>("namespace {\n" "} // namespace asdf")); - // Remove unknown comments. + // Remove unknown line comments. These are likely to be an unrecognized form + // of a namespace ending comment. EXPECT_EQ("namespace {\n" "} // namespace", runCheckOnCode<NamespaceCommentCheck>("namespace {\n" |