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

Unified Diff: tests/html/util.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/html/util.dart
diff --git a/tests/html/util.dart b/tests/html/util.dart
index 22d2c74ec0919c12addce4d5d4103bb6a035ddf0..cbbe254ad582383efb746fc39928a265f7ce9795 100644
--- a/tests/html/util.dart
+++ b/tests/html/util.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
void expectUnsupported(void fn()) =>
- Expect.throws(fn, (e) => e is UnsupportedOperationException);
+ Expect.throws(fn, (e) => e is StateError);
void expectEmptyRect(ClientRect rect) {
Expect.equals(0, rect.bottom);

Powered by Google App Engine
This is Rietveld 408576698