expectBeforeError function

String expectBeforeError(
  1. String expectation,
  2. String before,
  3. String found
)

Implementation

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