MCPcopy Index your code
hub / github.com/cpplint/cpplint / testSpacesAtEndOfLine

Method testSpacesAtEndOfLine

cpplint_unittest.py:442–447  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

TestLintMethod · 0.80

Tested by

no test coverage detected