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..5fc94bb7e77e947a93cd6a25793d78fcb85b40e1 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 StateError); |
} |
Expect.equals(0, a[0]); |
Expect.equals(0, b[0]); |