dart-archive / mock

A library for mocking classes - DEPRECATED
https://pub.dartlang.org/packages/mock
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

typed_mock library: _ArgumentMatcher_equals class should check for reference equality #9

Open DartBot opened 9 years ago

DartBot commented 9 years ago

Issue by bgourlie Originally opened as dart-lang/sdk#21945


The _ArgumentMatcher_equals class in the typed_mock library should check for reference equality before checking equivalence using '=='. Currently, it only checks equivalence which means I have to implement == and hascode() on any object I want to pass as an argument to a mocked method.

If typed_mock lived on GitHub, I could just submit a PR :)

DartBot commented 9 years ago

Comment by lrhn


Added Pkg-mock, Area-Pkg, Triaged labels.