• Vyacheslav Egorov's avatar
    Partially fix Dart 2 issues in animated_icons.test. (#14531) · 4814303b
    Vyacheslav Egorov authored
    Use mockito in the Dart 2 compliant way:
    
    * use typed(...) in appropriate places to wrap matchers like any;
    * don't pass matcher directly into the calls - use `argThat(matcher)`.
    
    Also rename paintColorMatcher to hasColor to match how other similar
    functions are named and how the code reads.
    4814303b
animated_icons_test.dart 7.65 KB