MCPcopy Index your code
hub / github.com/nodejs/node / DidFail

Method DidFail

tools/test.py:579–582  ·  view source on GitHub ↗
(self, output)

Source from the content-addressed store, hash-verified

577 return self.context.expect_fail
578
579 def DidFail(self, output):
580 if output.failed is None:
581 output.failed = self.IsFailureOutput(output)
582 return output.failed
583
584 def IsFailureOutput(self, output):
585 return output.exit_code != 0

Callers 1

HasFailedMethod · 0.80

Calls 1

IsFailureOutputMethod · 0.95

Tested by

no test coverage detected