• 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
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...