Update covariant_templates_test after changes to TypeError. (#51330)
TypeError no longer implements AssertionError after https://github.com/dart-lang/sdk/issues/40317.
This commit is contained in:
parent
1d4667bb38
commit
6f9ed76faf
@ -18,6 +18,6 @@ void main() {
|
||||
final A<X> ayAsAx = ay;
|
||||
expect(() {
|
||||
ayAsAx.u = X();
|
||||
}, throwsAssertionError);
|
||||
}, throwsA(isA<TypeError>()));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user