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); |