use isA<Xxx>() matcher (#48482)

This commit is contained in:
Alexandre Ardhuin
2020-01-16 21:43:03 +01:00
committed by Flutter GitHub Bot
parent 5eb394e084
commit 003541499b
138 changed files with 433 additions and 450 deletions

View File

@@ -11,4 +11,4 @@ import 'package:test/test.dart' as test_package show TypeMatcher;
export 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
/// A matcher that compares the type of the actual value to the type argument T.
Matcher isInstanceOf<T>() => test_package.TypeMatcher<T>();
test_package.TypeMatcher<T> isInstanceOf<T>() => isA<T>();