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

Unified Diff: tests/isolate/timer_not_available_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/html/util.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/timer_not_available_test.dart
diff --git a/tests/isolate/timer_not_available_test.dart b/tests/isolate/timer_not_available_test.dart
index 82c9103edbc7161a55f21c8bcf87dcb02d66893a..96fb3c51c317adf8e3b9e8a87f99ad161ac7ffce 100644
--- a/tests/isolate/timer_not_available_test.dart
+++ b/tests/isolate/timer_not_available_test.dart
@@ -10,7 +10,7 @@ main() {
bool failed = false;
try {
new Timer(0, (_) { });
- } on UnsupportedOperationException catch (e) {
+ } on UnsupportedError catch (e) {
failed = true;
}
Expect.isTrue(failed);
@@ -18,7 +18,7 @@ main() {
try {
var t = new Timer.repeating(10, (_) { });
t.cancel();
- } on UnsupportedOperationException catch (e) {
+ } on UnsupportedError catch (e) {
failed = true;
}
Expect.isTrue(failed);
« no previous file with comments | « tests/html/util.dart ('k') | tests/language/compile_time_constant_a_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698