Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: tests/standalone/io/read_into_const_list_test.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: ADded test expectations. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/list_literal3_test.dart ('k') | tools/utils/vim/syntax/dart.vim » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]);
« no previous file with comments | « tests/language/list_literal3_test.dart ('k') | tools/utils/vim/syntax/dart.vim » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698