[clang-tidy] Slighly clarified a comment.

llvm-svn: 231370
This commit is contained in:
Alexander Kornienko 2015-03-05 14:58:03 +00:00
parent da4ebb219b
commit 333d81121d

View File

@ -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"