expectIdentical function

void expectIdentical(
  1. Object? actual,
  2. Object? matcher, {
  3. String? reason,
  4. Object? skip,
})

Implementation

void expectIdentical(
  Object? actual,
  Object? matcher, {
  String? reason,
  Object? /* String|bool */ skip,
}) {
  expect(
    IdenticalMatcherDescription(actual),
    isIdentical(matcher),
    reason: reason,
    skip: skip,
  );
}