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

Method testEmpty

cpplint_unittest.py:6777–6779  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6775 self.nesting_state.Update("test.cc", clean_lines, line, self.error_collector)
6776
6777 def testEmpty(self):
6778 self.UpdateWithLines([])
6779 assert self.nesting_state.stack == []
6780
6781 def testNamespace(self):
6782 self.UpdateWithLines(["namespace {"])

Callers

nothing calls this directly

Calls 1

UpdateWithLinesMethod · 0.95

Tested by

no test coverage detected