fail function

Never fail(
  1. String message
)

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

Implementation

Never fail(String message) => throw TestFailure(message);