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

Method TestLintNotContains

cpplint_unittest.py:245–246  ·  view source on GitHub ↗
(self, code, expected_message)

Source from the content-addressed store, hash-verified

243 assert expected_message in self.PerformSingleLineLint(code)
244
245 def TestLintNotContains(self, code, expected_message):
246 assert expected_message not in self.PerformSingleLineLint(code)
247
248 # Perform lint and compare the error message with "expected_message".
249 def TestLint(self, code, expected_message):

Callers 1

testSpacingForFncallMethod · 0.80

Calls 1

PerformSingleLineLintMethod · 0.95

Tested by

no test coverage detected