expectNotIdentical function

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

Implementation

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