(self)
| 440 | assert lines == ["a", "/**/", "/**/", "/**/", "b"] |
| 441 | |
| 442 | def testSpacesAtEndOfLine(self): |
| 443 | self.TestLint( |
| 444 | "// Hello there ", |
| 445 | "Line ends in whitespace. Consider deleting these extra spaces." |
| 446 | " [whitespace/end_of_line] [4]", |
| 447 | ) |
| 448 | |
| 449 | # Test line length check. |
| 450 | def testLineLengthCheck(self): |