expectAfterError function

String expectAfterError(
  1. String expectation,
  2. String after,
  3. String found
)

Implementation

String expectAfterError(String expectation, String after, String found) {
  return Intl.message(
    "Expected to find $expectation after $after. Found '$found'.",
    name: 'expectAfterErrorMessage',
    args: [expectation, after, found],
    desc: 'The error message for expected element after the current token',
  );
}