fail function

  1. @alwaysThrows
Null fail (String message)

Convenience method for throwing a new TestFailure with the provided message.

Implementation

@alwaysThrows
Null fail(String message) => throw TestFailure(message);