Index: tests/standalone/io/read_into_const_list_test.dart |
diff --git a/tests/standalone/io/read_into_const_list_test.dart b/tests/standalone/io/read_into_const_list_test.dart |
index b87d2d8932395e0faf08a6eff41dc5e901ac456b..c7d1da136866667182fc0954a1b0d664c34a60ae 100644 |
--- a/tests/standalone/io/read_into_const_list_test.dart |
+++ b/tests/standalone/io/read_into_const_list_test.dart |
@@ -22,7 +22,7 @@ void main() { |
input.readInto(a, 0, 1); |
Expect.fail("no exception thrown"); |
} catch (e) { |
- Expect.isTrue(e is UnsupportedOperationException); |
+ Expect.isTrue(e is UnsupportedError); |
} |
Expect.equals(0, a[0]); |
Expect.equals(0, b[0]); |