fail function

  1. @alwaysThrows
Null fail (
  1. String message
)

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

Implementation

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