expectBeforeError function
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',
);
}