forked from firka/flutter
use isA<Xxx>() matcher (#48482)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
5eb394e084
commit
003541499b
@@ -18,7 +18,7 @@ void main() {
|
||||
|
||||
test('io_extension should throw exception', () {
|
||||
expect(() => registerWebServiceExtension(call),
|
||||
throwsA(isInstanceOf<UnsupportedError>()));
|
||||
throwsA(isA<UnsupportedError>()));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user