Unverified Commit 6f9ed76f authored by sjindel-google's avatar sjindel-google Committed by GitHub

Update covariant_templates_test after changes to TypeError. (#51330)

TypeError no longer implements AssertionError after https://github.com/dart-lang/sdk/issues/40317.
parent 1d4667bb
......@@ -18,6 +18,6 @@ void main() {
final A<X> ayAsAx = ay;
expect(() {
ayAsAx.u = X();
}, throwsAssertionError);
}, throwsA(isA<TypeError>()));
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment