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

@@ -18,7 +18,7 @@ void main() {
test('io_extension should throw exception', () {
expect(() => registerWebServiceExtension(call),
throwsA(isInstanceOf<UnsupportedError>()));
throwsA(isA<UnsupportedError>()));
});
});
}