expectNone method

void expectNone()

Implementation

void expectNone() {
  if (matches.isEmpty) {
    return;
  }
  throw StateError(
    '$scope $selector expected 0 matches, found ${matches.length}.\n'
    '${_describeMatches(matches)}',
  );
}